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 268995 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-16 02:46 UTC by ashrao
Modified: 2018-05-06 06:20 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227232


Attachments
stacktrace (2.95 KB, text/plain)
2016-11-16 02:46 UTC, ashrao
Details
stacktrace (2.95 KB, text/plain)
2017-05-18 08:49 UTC, dastanaron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ashrao 2016-11-16 02:46:50 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Mac OS X

User Comments:
ashrao: Opened couple of projects.
Doing normal coding, testing.
Had about 10 files open.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3181)
   at java.util.ArrayList.grow(ArrayList.java:261)
   at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
   at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
   at java.util.ArrayList.add(ArrayList.java:458)
   at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:200)
Comment 1 ashrao 2016-11-16 02:46:52 UTC
Created attachment 162923 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-05-18 06:34:18 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227232
Comment 3 dastanaron 2017-05-18 08:49:18 UTC
Created attachment 164345 [details]
stacktrace

I am aadded a new project started background scanning and everything was hanging