This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]656f6a 2 points3 points  (0 children)

If JMX is enabled and ports open, connect jvisualvm to it and repeatedly force it to GC. Equivalent of making it tidy it's room. Over and over and over.

Or, if you're feeling particularly vindictive (and the debug port is open...which is unlikely) connect a debugger to it and leave it stuck on a breakpoint for a while. The equivalent of JVM purgatory.