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 252501 - OutOfMemoryError: Many instances of DefaultToken
Summary: OutOfMemoryError: Many instances of DefaultToken
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 11:54 UTC by aldobrucale
Modified: 2016-07-07 07:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217424


Attachments
stacktrace (3.11 KB, text/plain)
2015-05-20 11:54 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2015-05-20 11:54:47 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
aldobrucale: priming two maven builds at the same time, with empty local maven repository




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.HashMap.resize(HashMap.java:703)
   at java.util.HashMap.putVal(HashMap.java:628)
   at java.util.HashMap.put(HashMap.java:611)
   at org.openide.filesystems.XMLMapAttr.put(XMLMapAttr.java:306)
   at org.openide.filesystems.DefaultAttributes$Table.setAttr(DefaultAttributes.java:897)
   at org.openide.filesystems.DefaultAttributes$Table$3.internalStartElement(DefaultAttributes.java:1033)
Comment 1 aldobrucale 2015-05-20 11:54:49 UTC
Created attachment 153766 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-12 11:54:13 UTC
The heap dump contains 8 million instances of org.netbeans.lib.lexer.token.DefaultToken.
It may be related to bug 239360.
Reassigning to editor/Lexer.
Comment 3 Martin Balin 2016-07-07 07:31:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss