Login  Register

Re: release memory using macros

Posted by jmutterer on Mar 16, 2009; 5:08pm
URL: http://imagej.273.s1.nabble.com/cell-by-cell-local-thickness-tp3693294p3693300.html

Marc,

You can call the garbage collector class one or multiple times if it helps.

call("java.lang.System.gc");


Jerome.





On Mon, Mar 16, 2009 at 5:52 PM, Marc Picheral <[hidden email]>
wrote:
>>
>> Dear Colleagues,
>
> I am using macros to process large images (720 Mo). I would like to
control the memory and empty the garbage collector. Is there any Macro
solution for that ?
>
> Regards
>
> Marc P.
>
>
>
>
>
----------------------------------------------------------------------------------
> VISIT our WEB site !
>
> http://www.obs-vlfr.fr/LOV/ZooPart/
>
----------------------------------------------------------------------------------

>
> Marc PICHERAL, ingenieur
> Laboratoire d'Océanologie de Villefranche sur mer
> CNRS UPMC UMR7093
> Observatoire Océanologique de Villefranche-sur-Mer
> Station Zoologique
> La Darse
> BP 28
> 06234 Villefranche sur mer
> Tel : 04 93 76 38 08
> Fax: 04 93 76 38 34