Message11791
Although it seems logical to me that this should work (Windows, sorry):
PS bugs> $env:JAVA_STACK="16m"
PS bugs> jython --print
java -Xmx512m 16m -classpath ..\..\..\..\..\Jython\2.7.2a1\jython.jar;. -Dpython.home=..\..\..\..\..\Jython\2.7.2a1 -Dpython.executable=..\..\..\..\..\Jython\2.7.2a1\bin\jython.exe -Dpython.launcher.uname=windows -Dpython.launcher.tty=true org.python.util.jython
In fact, JAVA_STACK has to include the "-Xss" part:
PS bugs> $env:JAVA_STACK="-Xss16m"
PS bugs> jython --print
java -Xmx512m -Xss16m -classpath ..\..\..\..\..\Jython\2.7.2a1\jython.jar;. -Dpython.home=..\..\..\..\..\Jython\2.7.2a1 -Dpython.executable=..\..\..\..\..\Jython\2.7.2a1\bin\jython.exe -Dpython.launcher.uname=windows -Dpython.launcher.tty=true org.python.util.jython
The Python and shell launchers both observe this convention. So on the face of it, this is invalid, or a help/documentation bug.
As an enhancement, it would be possible to check for the -Xss and force it in if missing, I suppose. If that's desirable, we should do the same for JAVA_MEM. Thoughts? |
|
Date |
User |
Action |
Args |
2018-03-13 21:04:21 | jeff.allen | set | messageid: <1520975061.52.0.467229070634.issue2501@psf.upfronthosting.co.za> |
2018-03-13 21:04:21 | jeff.allen | set | recipients:
+ jeff.allen, zyasoft, gsnedders |
2018-03-13 21:04:21 | jeff.allen | link | issue2501 messages |
2018-03-13 21:04:20 | jeff.allen | create | |
|