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 268330

Summary: OutOfMemoryError: Java heap space
Product: javascript Reporter: theruss
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: ABES, anandachakraborty, bobedano, bobvbg, g4b0, jshafe, makweru, muddyweb, ridosaputra2, stephenfalepau, theruss
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 225697
Attachments: stacktrace
stacktrace

Description theruss 2016-10-04 00:22:30 UTC
Build: NetBeans IDE 8.2 RC (Build 201609140952)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: When I start the IDE, it shows this problem.

Fyi, I am already having 8.2 installed and running this as a seperate setup.

Thanks

GUEST: 10 open projects with codeigniter, bootstrap, ckeditor, (25MB each)

GUEST: ?

theruss: Netbeans suddenly started to consume CPU (currently it's at 327%!) and then crashed.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at com.oracle.js.parser.TokenStream.grow(TokenStream.java:193)
   at com.oracle.js.parser.AbstractParser.getToken(AbstractParser.java:133)
   at com.oracle.js.parser.AbstractParser.nextToken(AbstractParser.java:221)
   at com.oracle.js.parser.AbstractParser.nextOrEOL(AbstractParser.java:177)
   at com.oracle.js.parser.Parser.recover(Parser.java:514)
   at com.oracle.js.parser.Parser.sourceElements(Parser.java:984)
Comment 1 theruss 2016-10-04 00:22:33 UTC
Created attachment 162323 [details]
stacktrace
Comment 2 theruss 2016-10-10 18:01:25 UTC
Created attachment 162440 [details]
stacktrace

All I did was closed NetBeans, and immediately re-opened it!
Comment 3 muddyweb 2017-07-04 08:26:05 UTC
I'm not sure what priority this is, but it's making the IDE virtually unusable for a lot of the time.   I get the error every time it starts.   The IDE will also frequently suddenly slow right down; code lookups don't work, things like 'Find Usages' and 'Navigate to Declaration' in the context menu do nothing and then, after 30 seconds or so, the exception icon appears at the bottom.
Comment 4 jshafe 2017-07-28 02:02:24 UTC
It appears I was able to resolve this problem by simply closing down some of my open projects. I will let you know if the problem returns.