View Single Post
Old March 18th, 2003, 05:55 PM     #8 (permalink)
DJDaveMark
Member
 
DJDaveMark's Avatar
 
Join Date: Feb 2003
Location: France
Posts: 55
yeah Z, but that's the point. The JVM knows how to recover system memory if it needs to. So if you've created redundant objects in memory, suggested garbage collection and it doesn't happen, then it means there's plenty more resources available and the JVM doesn't want to slow things down by running when it doesn' t need to.

As was mentioned by 'qball' if you're arrays were part of a method, when that method had finished, any variables and objects are destroyed memory recovered, but there is no definite time when this happens either. The JVM can make better decisions than us programmers.

DaveMark

-------------------------------------
Imagination is more important than knowledge.
-- Albert Einstein
DJDaveMark is offline   Reply With Quote