Message10987
When running jython on Xubuntu 15.10, JVM heap size arguments are ignored. E.g., I passed -Xmx512m to the JVM in two ways: via the jython launch script as -J-Xmx512m, and by setting the value of the JAVA_MEM environment variable. In both cases, running jython with the --print option confirmed that the JVM argument was correctly parsed and passed to the call of the JVM. However, when executing a memory-intensive script, the Java process always used approximate 2.1 GB of RAM regardless of whether I set -Xmx much lower or much higher than 2 GB.
The problem seems to be with the call to os.execvp() in the jython launch script (line 431). If I have jython print the java command string, then execute this command directly on the command line, the JVM memory limits behave exactly as expected. |
|
Date |
User |
Action |
Args |
2016-11-14 20:42:37 | stuckyb | set | messageid: <1479156157.93.0.00626975190715.issue2532@psf.upfronthosting.co.za> |
2016-11-14 20:42:37 | stuckyb | set | recipients:
+ stuckyb |
2016-11-14 20:42:37 | stuckyb | link | issue2532 messages |
2016-11-14 20:42:37 | stuckyb | create | |
|