CP2.1.2 seems to have a memory leak. There are 20 or more sets of 3 16-bit gray scale images each 6000x6000 pixels organized by subdirectory. The pipeline has a number of intermediate images, and I run ConserveMemory on all of these images after each subdirectory iteration. But Task Manager shows memory accumulating with each iteration even though I limit CP to 1 worker and set Java memory to 52 GB, and CP eventually crashes even with 56 GB RAM.
A possibly related issue is that the pipeline writes images as it iterates through the subdirectories, but only seems to output the spreadsheets after processing all of the subdirectories. Thus if it does crash, the images remain but all of the measurements are lost.
Any thoughts?
Thanks.