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 242933 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 02:04 UTC by nbuzer1952
Modified: 2014-06-13 05:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208414


Attachments
stacktrace (1.13 KB, text/plain)
2014-03-16 02:04 UTC, nbuzer1952
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbuzer1952 2014-03-16 02:04:39 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
nbuzer1952: I copy/pasted a large text file: 7.38 Meg, 42755 lines




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at java.lang.StringBuilder.toString(StringBuilder.java:405)
   at org.netbeans.modules.php.editor.parser.GSFPHPParser$Context.getSanitizedSource(GSFPHPParser.java:793)
   at org.netbeans.modules.php.editor.parser.GSFPHPParser.parseBuffer(GSFPHPParser.java:180)
   at org.netbeans.modules.php.editor.parser.GSFPHPParser.processParsing(GSFPHPParser.java:148)
Comment 1 nbuzer1952 2014-03-16 02:04:40 UTC
Created attachment 146044 [details]
stacktrace
Comment 2 Ondrej Brejla 2014-06-13 05:24:44 UTC
8M file...omg. Please, try 8.0 I made some improvements there. It could help. Thanks.