C
CD1
Hi!
I always run a Java class which takes a lot of memory, and every time
I have to set the maximum memory to some value. For example:
java -Xmx512m MyClass
How do I set this flag to be the default to all the future invocations
of the JVM? I didn't want to type that every time. I know I can set
the default Swing flags in the file $JDK_HOME/jre/lib/
swing.properties. Is there an equivalent of that file to the JVM (not
Swing related)?
Thanks!
I always run a Java class which takes a lot of memory, and every time
I have to set the maximum memory to some value. For example:
java -Xmx512m MyClass
How do I set this flag to be the default to all the future invocations
of the JVM? I didn't want to type that every time. I know I can set
the default Swing flags in the file $JDK_HOME/jre/lib/
swing.properties. Is there an equivalent of that file to the JVM (not
Swing related)?
Thanks!