Task #4953 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: insight's example/data/Gateway.java leaks server memory getPlane
| Reported by: | jamoore | Owned by: | jamoore |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-Beta4.3 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | n.a. |
Description
Since RawPixelsStorePrx.close is never called, the following code leaks server memory:
public synchronized byte[] getPlane(long pixelsID, int z, int t, int c)
throws Exception
{
RawPixelsStorePrx service = entryEncrypted.createRawPixelsStore();
try {
service.setPixelsId(pixelsID, false);
return service.getPlane(z, c, t);
} catch (Throwable e) {
throw new Exception("Cannot retrieve the plane " +
"(z="+z+", t="+t+", c="+c+") for pixelsID: "+pixelsID, e);
}
}
See: http://lists.openmicroscopy.org.uk/pipermail/ome-devel/2011-April/001940.html
Change History (1)
comment:1 Changed 8 years ago by jmoore <josh@…>
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [57970aba45367b5ecf4b3a78ccef14e104e838ad/ome.git] on branch develop) Adding service.close to Gateway.getPlane (Fix #4953)