i can reproduce this, actually the memory is not even freed when the layer is
removed from the task.
removing layers seems to work like this
- RemoveLayerPlugin execute
- fill layer with empty feature collection
- remove layer from layermanagement
problem is: there is no active cleanup, the best i found was a finalize()
method in the ecw java binding code
src-ecw/com/ermapper/ecw/JNCSFile.java
protected void finalize()
throws Throwable
{
if(bIsOpen)
ECWClose(true);
super.finalize();
}
but it seems like oj never reaches there, or better i set a debug point there
but gc'ing does not reach it.
any ideas, anyone?
ede
PS: i fetched the jecw java/native sources from gvsig, so we are gpl compliant
by having it available at least in our svn
On 28.09.2011 16:18, Jukka Rahkonen wrote:
> Hi,
>
> There is one 12000x12000 JPEG2000 image for you at
SNIP
> It is lossless and therefore still 181 MB in size. Open it with OJ, zoom
> and pan wildly around and you will see how java.exe will take more and
> more memory.
>
> -Jukka-
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel