From: Robert W. <rob...@ho...> - 2001-10-18 01:05:21
|
Folks: How can I control the way jython invokes the Java vm? In particular, I'd like it to invoke java as follows: java -Xmx1024m because I'm creating huge vectors and I'm getting out of memory exceptions. Thanks in advance, ---Rob Welch |
From: Robert W. B. <rb...@di...> - 2001-10-18 01:55:31
|
On Wed, 17 Oct 2001, Robert Welch wrote: > Folks: > > How can I control the way jython invokes the Java vm? Edit the jython startup script. The command "jython" is really a shell script (jython.bat on windows) that executes Java with the appropriate options and parameters. Add the -Xmx1024m to the command in the file if that is the option you need. > In particular, I'd like it to invoke java as follows: > > java -Xmx1024m > > because I'm creating huge vectors and I'm getting out of > memory exceptions. -robert |
From: dman <ds...@ri...> - 2001-10-18 03:32:25
|
On Wed, Oct 17, 2001 at 08:54:54PM -0500, Robert W. Bill wrote: | On Wed, 17 Oct 2001, Robert Welch wrote: | > Folks: | > | > How can I control the way jython invokes the Java vm? | | Edit the jython startup script. The command "jython" is really a shell | script (jython.bat on windows) that executes Java with the appropriate | options and parameters. Add the -Xmx1024m to the command in the file if | that is the option you need. OR simply invoke java directly: java <java opts> -classpath jython.jar:<other stuff> org.python.util.jython myapp.py Jython is, after all, "just" a java program (albeit a very useful one). -D |