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.
Summary: | OutOfMemoryError: Java heap space | ||
---|---|---|---|
Product: | java | Reporter: | Ondrej Vrabec <ovrabec> |
Component: | Source | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | dbalek |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 201566 |
Attachments: | stacktrace |
Description
Ondrej Vrabec
2013-06-20 11:44:12 UTC
Created attachment 136077 [details]
stacktrace
The memory is consumed by Java parsers. Here are the top retained sizes: com.sun.tools.javac.tree.JCTree$JCCompilationUnit 339,035,331 (30.3%) java.util.HashMap 323,386,265 (28.9%) org.netbeans.lib.nbjavac.services.NBParserFactory$NBJavacParser$EndPosTableImpl 319,953,335 (28.6%) There are 3,561 instances of parser and associated classes. The number of NbJavacParsers could correspond to the number of source files, IMHO. The indexing system contains some counter-measures against running OOM, but it seems the huge compilation task was requested by debugger, so it runs without those safeguards. |