Chris Adams wrote:
You could always try calling the garbage collector after each
loop. Though the JVM does not have to do anything it might help reduce
some of the memory.

Unfortunately, calling gc() just yields the current thread, giving the GC thread another time slice. It's absolutly unseless for countering OutOfMemoryErrors, because the latter is caused by memory leaks and not by missing chances to gc() stuff.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to