[ome-users] getPlane memory leak
Alexander Tournier
alexander.tournier at cancer.org.uk
Tue Apr 30 18:55:20 BST 2013
Hi there,
I've been trolling the web for a solution to this but I just don't see it,
Any ideas why the following would create a memory leak in java??
Notice the close statement at the end!
And the offending object (IceInternal.Outgoing) is created during the
call to setPixelsId according to visualvm and not destroyed by the close
statement.
store = session.createRawPixelsStore();
store.setPixelsId(imageId, false);
Stack = zeros([sizeX,sizeY,sizeZ],'uint16');
for z = 1:sizeZ
plane = store.getPlane( z-1, channel, t);
tPlane = toMatrix(plane, pixels);
Stack(:,:,z) = tPlane;
end
store.close();
Any ideas??
Thanks
Alexander
NOTICE AND DISCLAIMER
This e-mail (including any attachments) is intended for the above-named person(s). If you are not the intended recipient, notify the sender immediately, delete this email from your system and do not disclose or use for any purpose.
We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.
Cancer Research UK
Registered charity in England and Wales (1089464), Scotland (SC041666) and the Isle of Man (1103)
A company limited by guarantee. Registered company in England and Wales (4325234) and the Isle of Man (5713F).
Registered Office Address: Angel Building, 407 St John Street, London EC1V 4AD.
More information about the ome-users
mailing list