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 254404 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 239360
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-16 16:52 UTC by rmesh
Modified: 2015-11-12 08:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219191


Attachments
stacktrace (3.11 KB, text/plain)
2015-08-16 16:52 UTC, rmesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rmesh 2015-08-16 16:52:19 UTC
This bug was originally marked as duplicate of bug 183907, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: Windows 8

User Comments:
rmesh: Restarting the netbeans sometime !! Especialy when netbeans got hanged.

GUEST: too big project (> 20 gb)

GUEST: - Creating a very big php project (26 GB, 90.000 files) with existing resources
- Background scanning of projects was pending hours
- Netbeans was unusable
- At all the project is extremely big and no IDE can handle this, I understand




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:2219)
   at java.util.ArrayList.trimToSize(ArrayList.java:179)
   at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbeddingImpl(BatchTokenList.java:208)
   at org.netbeans.lib.lexer.BatchTokenList.tokenOrEmbedding(BatchTokenList.java:191)
   at org.netbeans.api.lexer.TokenSequence.moveNext(TokenSequence.java:488)
   at org.netbeans.modules.php.editor.PhpEmbeddingProvider.getEmbeddings(PhpEmbeddingProvider.java:96)
Comment 1 rmesh 2015-08-16 16:52:21 UTC
Created attachment 155374 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-11-11 14:52:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219191
Comment 3 Miloslav Metelka 2015-11-12 08:46:50 UTC
Unfortunately there are several potential memory leaks of editor document instances in the NB 8.0.2. that should all be fixed in NB 8.1. Please consider upgrading to NB 8.1.

*** This bug has been marked as a duplicate of bug 239360 ***