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 241302

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: ragnar
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: allisoncTimeless
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207216
Attachments: stacktrace

Description ragnar 2014-02-03 07:34:29 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Windows 7

User Comments:
ragnar: netbeans has frozen and used 100% cpu...

java.lang.OutOfMemoryError: Java heap space
   at java.util.prefs.AbstractPreferences.addPreferenceChangeListener(
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.getIgnoredFiles(
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.getIgnoreFilesPattern(
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.isVisible(
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.isVisible(
   at org.netbeans.api.queries.VisibilityQuery.isVisible(
Comment 1 ragnar 2014-02-03 07:34:31 UTC
Created attachment 144702 [details]
Comment 2 Jaroslav Havlin 2014-02-03 09:39:19 UTC
Class org.netbeans.lib.lexer.EmbeddedTokenList has 1.4 million instances, their retained size is 509 MB.
Reassigning to editor/Lexer. Please evaluate it, thank you.