5
theo http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/clopts.html bạn có thể bật -XX: + HeapDumpOnOutOfMemoryError sử dụng JConsole trong thời gian chạy. Làm sao?bật HeapDumpOnOutOfMemoryError trong thời gian chạy
Tôi giả định ở đâu đó trong tab MBeans và com.sun.management -> HotSpotDiagnostic -> Operations -> setVMOptions?