its not a good solution, as a VM tuning parameter is
-XX:DisableExplicitGC or something like that.
vineesh kumar wrote:
Dear Peter,
> - Ensure a garbage collection before the files need to be deleted -
can
> be difficult, as System.GC() is only a hint (as I found out when I ran
> into this under somewhat different circumstances);
With java 1.5.0_04, I think it's possible to force the gc to
run manually.There is a class called Runtime, from which we can call
the gc,instead of System.gc(). This ensures that the gc will run on
programmer's wish.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]