Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why garbage collection does not run automatically?

843811Mar 26 2004 — edited Mar 28 2004
Hi.
I am having a problem with freeing allocated memory. The problem is that it is not run automatically and when I use a testcase and run System.gc() then I get a lot of free memory.
Why aren't temporary objects is not garbage collected automatically?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2004
Added on Mar 26 2004
7 comments
291 views