This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was reported manually by thurka. It already has 1 duplicates Build: NetBeans IDE Dev (Build 20140519-2ae4914fdb8c) VM: Java HotSpot(TM) 64-Bit Server VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19 OS: Mac OS X User Comments: GUEST: special heap dump Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -2 at org.netbeans.lib.profiler.heap.HprofLongMappedByteBuffer.get(HprofLongMappedByteBuffer.java:115) at org.netbeans.lib.profiler.heap.HprofHeap.readDumpTag(HprofHeap.java:667) at org.netbeans.lib.profiler.heap.HprofHeap.fillHeapTagBounds(HprofHeap.java:1013) at org.netbeans.lib.profiler.heap.HprofHeap.<init>(HprofHeap.java:137) at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:87) at org.netbeans.lib.profiler.heap.HeapFactory.createHeap(HeapFactory.java:69)
Created attachment 147682 [details] stacktrace
Created attachment 147683 [details] Heap dump to reproduce the issue Open attached heap dump to reproduce this issue.
This exception is caused by extraordinary long int[] array. Its length is 550 millions and its size exceeds Integer.MAX_VALUE.
Fixed in profiler-main changeset: 274427:32b67262c923 user: Tomas Hurka <thurka@netbeans.org> date: Tue Jun 17 16:24:07 2014 +0200 summary: bugfix #245065, Instance.getSize() now returns long instead of int
Integrated into 'main-silver', will be available in build *201406190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/32b67262c923 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #245065, Instance.getSize() now returns long instead of int