CreateTransientAnalysis memory problem

Aug 4 at 9:28 AM
Hello everybody,

I am playing around with the portal dosimetry API. To do a patient analysis I call PortalDoseImage.CreateTransientAnalysis for each image of the patient. This works fine except for patients with more than about 100 images. Then the app crashes because of memory problems. In the Windows Task Manager I also see the used memory steadily increasing with each image analysis. Only after closing the patient (app.ClosePatient()) the memory is released.

Do I need a separate statement to clear memory after each call to CreateTransientAnalysis? If so which statement? Or is this just a bug for which I will have to find a workaround?