value of "startReport.findOrCreateMachine(ip).getProcessDomains()" is determinable, don't do it within a loop, put it in a local variable before loop.