Java command line switches

From Simson Garfinkel
Jump to navigation Jump to search
java -Xmx256m -Xms256m

java -Xms<some_min_size> -Xmx<some_max_size>

-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size