How you can force the garbage collection?

We can’t have forced garbage collection. System.gc( ) does not necessarily force a synchronous garbage collection. Instead, the gc( ) call is really a hint to the runtime that now is a good time to run the garbage collector. The runtime decides whether to execute the garbage collection at that time and what type of garbage collection to run.

Related Post

What do you know about Containers?
Forcing www in url using Apache
Sun turns JavaScript into Java. Google turns Java into JavaScript

Comments

Leave a Reply




Technology