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.
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)
Created attachment 164178 [details] stacktrace