try this code:
Runtime rt = Runtime.getRuntime( );
long isFree = rt.freeMemory( );
long wasFree;
do {
wasFree = isFree;
rt.gc( );
isFree = rt.freeMemory( );
}
while( isFree > wasFree );
rt.runFinalization( );
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
- Garbage collection Campbell
- Re: Garbage collection David Chisholm
- Re: Garbage collection Tae Kang
- Re: Garbage collection Pedro Teixeira
- Re: Garbage collection Taylor Gautier
- Re: Garbage collection David Mossakowski
- Re: Garbage collection ACI Team (Chennai)
- Re: Garbage collection Reisman Jason
- OFFTOPIC: HTTP Tool Taylor Gautier
- Re: Garbage collection David Orkin
- Re: Garbage collection brian
- Re: Garbage collection Kirkdorffer, Daniel
- FW: Garbage collection Pfeifer, Therese M
- Re: Garbage collection Reisman Jason
- Re: Garbage collection Carles Pi-Sunyer
- garbage collection Kathy Wargo
- Re: garbage collection Osvaldo Pinali Doederlein
- Re: garbage collection john_kenshole
- Re: Garbage Collection Vikramjit Singh
- Re: Garbage Collection Vibha Jindal
