To force garbage collector call
Runtime.getRunTime().gc()

----- Original Message ----- 
From: "Pravin Shingade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 28, 2001 10:40 AM
Subject: Garbage Collection


> Hi all,
> Can anybody tell me how to force a garbage collector or any other way to
> release the memory.
> My application is throwing OutOfMemoryError even in 128MB RAM system.
> I am using swing for GUI.
> I am calling
> 
> Runtime.gc()
> Runtime.runFinalisation()
> 
> but it hardly helps in performance improvement.
> 
> 
> 
> 
> _______________________________________________
> Swing mailing list
> [EMAIL PROTECTED]
> http://eos.dk/mailman/listinfo/swing


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to