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
Depends on:
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

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

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...

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.