Template:JAVA OPTIONS

From UFRC
Revision as of 15:21, 19 December 2014 by Moskalenko (talk | contribs) (Created page with " To set the heap memory to be used by a java program export the '_JAVA_OPTIONS' variable in the environment the program runs in - either on the command line, in a personal mod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To set the heap memory to be used by a java program export the '_JAVA_OPTIONS' variable in the environment the program runs in - either on the command line, in a personal module, or in a job script. For example,

export _JAVA_OPTIONS="-Xms1g -Xmx4g"

will set Java heap memory usage to a minimum of 1g and a maximum of 4g.