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 Dev (Build nbms-and-javadoc-1376-on-20140228) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b53, Java(TM) SE Runtime Environment, 1.8.0-ea-b111 OS: SunOS User Comments: vamiot: running a program under jython (works fine with regular Python 2.6.1 64bit), parses a large text file (3 Million lines), generates some 20K xml records Jython a 32bit version? Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3650) at java.lang.StringBuffer.toString(StringBuffer.java:671) at java.io.BufferedReader.readLine(BufferedReader.java:359) at java.io.BufferedReader.readLine(BufferedReader.java:389) at org.netbeans.modules.python.debugger.backend.PythonDebugClient.getMessage(PythonDebugClient.java:104) at org.netbeans.modules.python.debugger.backend.PythonDebugClient.access$000(PythonDebugClient.java:54)
Created attachment 145729 [details] stacktrace
Thank you for your report. You probably need to increase the heap space allocated for Jython. Jython has its own -Xmx (maximum memory heap size) setting which you can find in jython.bat in the bin directory. Currently, this setting defaults to -Xmx512m, but you must set it to a sufficient size to run YOUR app, otherwise you will get Java OutOfMemory exceptions (even when there is plenty of spare memory on your system). I tested adjusting this setting and it worksforme. If that's not the issue, then feel free to reopen with my apologies.