This shows you the differences between two versions of the page.
java [2017/06/16 22:13] mgstauff created |
java [2017/06/16 22:13] (current) mgstauff [Memory] |
||
---|---|---|---|
Line 7: | Line 7: | ||
To reign it in, specify a memory allocation as a command-line option when you compile java or run a java script/ | To reign it in, specify a memory allocation as a command-line option when you compile java or run a java script/ | ||
- | === Compiling === | + | === Compiling |
To compile things with java on the cluster, one needs | To compile things with java on the cluster, one needs | ||
Line 13: | Line 13: | ||
javac -J-Xmx123M | javac -J-Xmx123M | ||
- | === Running === | + | === Running |
To run, | To run, |