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.3 Beta 2 (Build 201211062253) VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24 OS: Linux Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(String.java:2737) at com.oracle.nashorn.runtime.Source.<init>(Source.java:80) at org.netbeans.modules.javascript2.editor.parser.JsonParser.parseSource(JsonParser.java:64) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:133) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseContext(SanitizingParser.java:113) at org.netbeans.modules.javascript2.editor.parser.SanitizingParser.parseSource(SanitizingParser.java:101)
Created attachment 129946 [details] stacktrace
There are two instances of europeana-swe.json held in memory (char[] #162162 and #162163) one is just being parsed. Maybe it would be cool not to parse it or to show some dialogue whether user wants to parse such a big file (70M)
Petre this might have the same solution (disable parsing) as for Jarda's file. Thanks.
Yes, we can just skip the parsing of such big file. The limit is 1 mb for javascript files.
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.