How can I reduce [managed memory usage] ?
Hi guys,
The content of the macro is roughly [Open Image],[Apply Calibration] ,[Use 2D Filter], [Count], [Mask New Image], etc.
We developed a macro for image batch analysis on IP-10 version 10.0.7.
The images are all set to [visible=false], and after each image is counted, it will be closed.
Follow : https://forums.mediacy.com/discussion/709/batch-processing-limitations
Follow : https://forums.mediacy.com/discussion/709/batch-processing-limitations
At the beginning, it takes about 2 seconds to analyze an image, and after a while, it takes about 10 seconds for an image, and the [managed memory usage] cannot be reduced.
After testing, I found that the memory accumulate in [Apply Calibration], [Duplicate], [CreakMask], etc.
So I wrote a simple macro test.
[Apply Calibration]:

After testing, I found that the memory accumulate in [Apply Calibration], [Duplicate], [CreakMask], etc.
So I wrote a simple macro test.
[Apply Calibration]:

[Duplicate]:

After processing 14 images:

What should I add to the macro to reduce the usage rate of [managed memory usage]?
Attached is the simple test macro.
Thanks!
0
Answers