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.

Bug 168419 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 167881
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 21:37 UTC by ranbato
Modified: 2009-07-17 14:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 153596


Attachments
stacktrace (2.46 KB, text/plain)
2009-07-10 21:37 UTC, ranbato
Details
Heap Dump (57.60 KB, text/plain)
2009-07-13 13:37 UTC, ranbato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ranbato 2009-07-10 21:37:40 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
ranbato: Removing compile errors from a large file



Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
        at java.lang.String.toCharArray(String.java:2725)
        at com.sun.tools.javac.file.JavacFileManager.toArray(JavacFileManager.java:94)
        at com.sun.tools.javac.util.DiagnosticSource.initBuf(DiagnosticSource.java:182)
        at com.sun.tools.javac.util.DiagnosticSource.findLine(DiagnosticSource.java:147)
        at com.sun.tools.javac.util.DiagnosticSource.getLineNumber(DiagnosticSource.java:71)
        at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:295)
Comment 1 ranbato 2009-07-10 21:37:44 UTC
Created attachment 84617 [details]
stacktrace
Comment 2 Jiri Prox 2009-07-13 10:09:07 UTC
Can you please attach heapdump?
Thanks
Comment 3 ranbato 2009-07-13 13:37:30 UTC
Created attachment 84655 [details]
Heap Dump
Comment 4 Jiri Prox 2009-07-13 13:59:59 UTC
thanks
Comment 5 Dusan Balek 2009-07-17 14:25:09 UTC
Should be fixed in the current dev build.

*** This issue has been marked as a duplicate of 167881 ***