NegativeArraySizeException LongToIntMap.createTable
Rumph, Frens Jan
mail at frensjan.nl
Tue Jun 27 07:02:46 UTC 2023
Hi,
I've attempted to analyse a pretty hefty JVM heap dump (~160 GB) with JDK
Mission Control. However, JMC failed with the following exception:
java.lang.NegativeArraySizeException: -936463355
at
org.openjdk.jmc.joverflow.util.LongToIntMap.createTable(LongToIntMap.java:106)
at org.openjdk.jmc.joverflow.util.LongToIntMap.rehash(LongToIntMap.java:92)
at
org.openjdk.jmc.joverflow.util.NumberToIntMap.finishPut(NumberToIntMap.java:91)
at org.openjdk.jmc.joverflow.util.LongToIntMap.put(LongToIntMap.java:60)
at
org.openjdk.jmc.joverflow.heap.model.Snapshot$Builder.addJavaObject(Snapshot.java:620)
at
org.openjdk.jmc.joverflow.heap.parser.HprofReader.readInstance(HprofReader.java:881)
at
org.openjdk.jmc.joverflow.heap.parser.HprofReader.readHeapDump(HprofReader.java:566)
at
org.openjdk.jmc.joverflow.heap.parser.HprofReader.doRead(HprofReader.java:430)
at
org.openjdk.jmc.joverflow.heap.parser.HprofReader.read(HprofReader.java:263)
at org.openjdk.jmc.joverflow.ui.model.ModelLoader.run(ModelLoader.java:99)
at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
I don't know if this is the right place to submit issues / ask for support,
but I didn't find a way to create an account for
https://bugs.openjdk.org/projects/JMC/summary.
I was running with Xmx32g on a MacOS with aarch64. The heap dump I
attempted to analyse was from an Elasticsearch node that OOM'ed.
If I can provide further details: please let me know.
Best regards,
Frens Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jmc-dev/attachments/20230627/c420c8b2/attachment-0001.htm>
More information about the jmc-dev
mailing list