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

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: ashrao <ashrao>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: dastanaron, gtoumie
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227232
Attachments: stacktrace
stacktrace

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