ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Task to perform garbage collection
Date Wed, 19 Jun 2002 03:39:21 GMT

----- Original Message -----
From: "Magesh Umasankar" <umagesh@apache.org>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Tuesday, June 18, 2002 12:37
Subject: Task to perform garbage collection


> 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.
>

yeah, go for it. have a property to set the memory consumption stats too,
eh?


--
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