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 270483 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 11:19 UTC by mohammad.khodaei
Modified: 2017-04-25 14:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228940


Attachments
stacktrace (3.50 KB, text/plain)
2017-04-25 11:19 UTC, mohammad.khodaei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mohammad.khodaei 2017-04-25 11:19:30 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: OpenJDK 64-Bit Server VM, 25.121-b13, OpenJDK Runtime Environment, 1.8.0_121-8u121-b13-0ubuntu1.16.04.2-b13
OS: Linux

User Comments:
mohammad.khodaei: Opening a very huge file




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   at java.lang.String.<init>(String.java:166)
   at org.netbeans.modules.editor.lib2.document.CharContent.getString(CharContent.java:171)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.getString(EditorDocumentContent.java:238)
   at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:770)
   at org.netbeans.modules.cnd.modelimpl.impl.services.MacroExpansionDocProviderImpl.getDocumentText(MacroExpansionDocProviderImpl.java:815)
Comment 1 mohammad.khodaei 2017-04-25 11:19:33 UTC
Created attachment 164178 [details]
stacktrace