Bom dia macada, beleza?
Entao, estou com o seguinte problema.
Estou tentando abrir um dump de uma instancia em java que foi gerada pelo jmap.
Estou usando : jhat heap.bin
e tendo a seguinte pilha de erro:
C:\Arquivos de programas\Java\jdk1.6.0_32\bin>jhat heap.bin
Reading from heap.bin...
java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:748)
at com.sun.tools.hat.internal.parser.MappedReadBuffer.create(MappedReadBuffer.java:47)
at com.sun.tools.hat.internal.parser.HprofReader.<init>(HprofReader.java:145)
at com.sun.tools.hat.internal.parser.Reader.readFile(Reader.java:76)
at com.sun.tools.hat.Main.main(Main.java:143)
Caused by: java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:745)
... 4 more
File mapping failed, will use direct read
Dump file created Thu May 17 22:01:29 GMT-03:00 2012
Alguem sabe como passar os parametros corretos para o jhat a fim de que possa abrir esse dump?
donatinho
