Hi, I'm trying to programm a self destruction logic. I've already created a global ExceptionHandler which will be processed in some cases. I want to collect some system information before the destruction. One information should be the current heap dump.
I found The following page http://blogs.sun.com/sundararajan/entry/programmatically_dumping_heap_from_java for heap dumping from within the application, but eclipse don't want to compile it due "Restriction Issues". This code is also for Sun-VMs only. So i'd like to ask if there is a global way?