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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
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: 2014-02-03 07:34 UTC by ragnar
Modified: 2016-05-05 16:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207216


Attachments
stacktrace (3.26 KB, text/plain)
2014-02-03 07:34 UTC, ragnar
Details

Note You need to log in before you can comment on or make changes to this bug.
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...




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.prefs.AbstractPreferences.addPreferenceChangeListener(AbstractPreferences.java:1039)
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.getIgnoredFiles(GlobalVisibilityQueryImpl.java:132)
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.getIgnoreFilesPattern(GlobalVisibilityQueryImpl.java:123)
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.isVisible(GlobalVisibilityQueryImpl.java:101)
   at org.netbeans.modules.masterfs.GlobalVisibilityQueryImpl.isVisible(GlobalVisibilityQueryImpl.java:92)
   at org.netbeans.api.queries.VisibilityQuery.isVisible(VisibilityQuery.java:104)
Comment 1 ragnar 2014-02-03 07:34:31 UTC
Created attachment 144702 [details]
stacktrace
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.