I have a huge Java heap dump file. It also contains (I believe) unreachable objects, that would be garbage collected by the JVM (or so one hopes).
Is there a tool that allows me to run the garbage collector against this file, so that I can
- get rid of useless data
- verify/simulate garbage collection with the various algorithms to see how well they work
- identify garbage collection problems