hei David,

in case you don't know
what sometimes can help a bit is to press the "garbage collect" button 
of the help/about/info tab

but only sometimes :I

stefan

david alejandro garcia ortega schrieb:
> Thanks Larry i will try to find a solution to the problem.
> 
>  DAVID GARCIA 
> 
>     ------------------------------------------------------------------------
>     From: /"Larry Becker" <[EMAIL PROTECTED]>/
>     Reply-To: /"List for discussion of JPP development and use."
>     <jump-pilot-devel@lists.sourceforge.net>/
>     To: /"List for discussion of JPP development and use."
>     <jump-pilot-devel@lists.sourceforge.net>/
>     Subject: /Re: [JPP-Devel] Question?/
>     Date: /Mon, 21 May 2007 11:03:03 -0500/
> 
>     Hi David,
> 
>       Welcome to the list.  That is an excellent question. I wish I had
>     an answer for you, but it is one of the unsolved problems with JUMP
>     (all flavors I believe).  In my tests, it is not even consistent. 
>     Sometimes removing a layer will free most of the memory, but usually
>     it will not.
> 
>       There have been attempts made to fix the problem in OpenJump.  See
>     :
>     com.vividsolutions.jump.workbench.ui.plugin.RemoveSelectedLayersPlugIn 
>     method remove(Layerable[]) which calls
>     selectedLayers[i].getLayerManager().dispose(selectedLayers[i]) and
>     does everything you could reasonably expect, however much of the
>     memory, usually all of it, is still committed after this code runs.
> 
>     Apparently some plugin(s) still have references to the disposed
>     layers.  Probably via a listener of some kind, but no one has ever
>     tracked down the problem.
> 
>       David, you would be doing a great service to the whole JUMP
>     community if you could find the solution to this problem.
> 
>     regards,
>     Larry Becker
> 
>     On 5/21/07, *david alejandro garcia ortega* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
> 
>         Hi  I am working with the source code of OpenJump and i have the
>         following question:
> 
>         When I load a dataset(shapefile)  commited memory is about
>         150Mb, then when I remove the dataset the commited memory is
>         about 140Mb. Why doesn´t memory free?
> 
>         I want to free memory when the layer is turned invisible calling
>         dispose() of layer class, and when is turned visible I load the
>         featurecollection again. But this not work i can´t free memory.
>         What can i do?
> 
>         Thanks, and sorry for my English i am from México.
> 
> 
>         
> ------------------------------------------------------------------------
>         Windows Live Spaces en Prodigy/MSN Haz clic aquí
>         <http://g.msn.com/8HMBESMX/2743??PS=47575>La red más grande en
>         México y el mundo.
>         
> -------------------------------------------------------------------------
>         This SF.net email is sponsored by DB2 Express
>         Download DB2 Express C - the FREE version of DB2 express and take
>         control of your XML. No limits. Just data. Click to get it now.
>         http://sourceforge.net/powerbar/db2/
>         _______________________________________________
>         Jump-pilot-devel mailing list
>         Jump-pilot-devel@lists.sourceforge.net
>         <mailto:Jump-pilot-devel@lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 
> 
> 
>     -- 
>     http://amusingprogrammer.blogspot.com/
> 
>      
> >-------------------------------------------------------------------------
>      >This SF.net email is sponsored by DB2 Express
>      >Download DB2 Express C - the FREE version of DB2 express and take
>      >control of your XML. No limits. Just data. Click to get it now.
>      >http://sourceforge.net/powerbar/db2/
> 
>      >_______________________________________________
>      >Jump-pilot-devel mailing list
>      >Jump-pilot-devel@lists.sourceforge.net
>      >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 
> ------------------------------------------------------------------------
> Comparte archivos de manera inmediata con Windows Live Messenger en 
> Prodigy/MSN Haz clic aquí <http://g.msn.com/8HMAESMX/2731??PS=47575>
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to