ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Task to perform garbage collection
Date Tue, 18 Jun 2002 19:37:14 GMT
Hi,

I propose to create a very simple task named
<recyclememory/> or <collectgarbage/> that

* invokes System.runFinalization(); and then
* invokes System.gc();

This gives the build writer a chance to
suggest to the JVM to free up memory just
before start of a heavy-weight job, for 
instance.

Comments?

Cheers,
Magesh

*********************************************
*  When in doubt, mumble; when in trouble,  *
*  delegate; when in charge, ponder.        *
*                          - James H. Boren *
*********************************************


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message