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 256728

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: cmarcum <cmarcum>
Component: LexerAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 211287
Attachments: stacktrace

Description cmarcum 2015-11-22 14:54:21 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
cmarcum: background scanning of projects (3 grails projects currently open) seemed to hang at 98 percent.  Previously at 85 percent the last time the IDE was opened.  These were okay in 8.0. This issue started with newly installed 8.1.

GUEST: ---

GUEST: ---




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3210)
   at java.util.Arrays.copyOf(Arrays.java:3181)
   at java.util.ArrayList.trimToSize(ArrayList.java:198)
   at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:208)
   at org.netbeans.lib.lexer.BatchTokenList.tokenCount(BatchTokenList.java:147)
   at org.netbeans.api.lexer.TokenSequence.moveEnd(TokenSequence.java:632)
Comment 1 cmarcum 2015-11-22 14:54:24 UTC
Created attachment 157441 [details]
stacktrace