User Story #3401 (new)
Opened 13 years ago
Last modified 13 years ago
Images and Image management in java leaks memory — at Initial Version
Reported by: | jburel | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Insight | Keywords: | n.a. |
Cc: | dzmacdonald, jamoore | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
It has been seen for some time that insight has been running out of memory when manipulating images.
It has been especially noticeable in the Lens, where zooming of
the image can result in insight running out of ram #773. This is
due to a bug in the scaling operations in Java using excessive
amounts of ram for the scaling operation and it affects all
operations for scaling.
See:
http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=307145717d25cf3d839f5b1f6d986?bug_id=6716560
It has also been shown that Java holds on to references of
Databuffers in BufferedImages.
This means that Insight needs to find new methods for manipulating
images, Factories, caching?
To this effect we are investigating different API's available to
store, display, manipulate images.
It has also been seen that the Java2D API has bugs when shapes
undergo Affine Transforms, this has led to a major bug in the
measurement tool.
It may also be that the API's which allow the manipulation of
Images may also provide more robust methods for dealing with
affine transforms.