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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 00:22 UTC by theruss
Modified: 2018-05-06 17:18 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225697


Attachments
stacktrace (2.86 KB, text/plain)
2016-10-04 00:22 UTC, theruss
Details
stacktrace (2.86 KB, text/plain)
2016-10-10 18:01 UTC, theruss
Details

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