Reputation: 611
This has been made hard for me:
Upvotes: 0
Views: 179
Reputation: 533492
AFAIK You can't trigger a heap dump with Java 5.0 even if you has complete access to the machine. (Admittedly I haven't used Java 5.0 for more than five years) With Java 6 you need JMX or trigger a heap dump on an out of memory error.
Some memory profilers may allow you to do a heap dump (of their own format) if you can find one which supports Java 5.0 but you would have to enable profiling from the start and that tended to be relatively slow on Java 5.0 from memory.
Upvotes: 1