Memory Error while running cellprofiler on image batch

While running a pipeline in cell profiler we get the following error continuously and at random time intervals.
The error is both during small batches of 10-20 images as on larger batches of 200-300.
This is happening on different devices with one setup having 64Gb RAM and the error occurring at only 20Gb usage.

Does someone have an explanation as to why this is happening and what we can do to solve the problem?

Would you be able to send a copy of the pipeline and an example image set?