Java Shell

Force Garbage Collection
Since JDK 7 you can use the JDK command tool ‘jcmd’ such as:

jcmd <pid> GC.run
Advertisements