Memory Leak

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Memory Leak

nanthony
I'm Micromanager Gamma using the acquire multiple regions plugin and I notice
that the RAM is filling up and causing an error.

The plugin runs the acquisition engine several times. Each time, it recieves
the Datastore from the acquisition and then calls freeze() and close().


Datastore store = gui_.acquisitions().runAcquisition(currRegion.filename,
currRegion.directory);
                store.freeze();
                gui_.displays().closeDisplaysFor(store);
                store.close();


However it doesn't appear that any memory gets freed at `store.close()`.
Even thought the data store is being saved to disk the data store gets up to
around 2GB in the ram. But after the store is closed and the `store`
variable is closed this memory sticks around until micromanager is closed.

Thanks,
  Nick



--
Sent from: http://micro-manager.3463995.n2.nabble.com/


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general