How do I set Java\'s min and max heap size through environment variables?
I know that the heap sizes can be set when launching java, but I would like to have this ad
You can't do it using environment variables. It's done via "non standard" options. Run: java -X for details. The options you're looking for are -Xmx and -Xms (this is "initial" heap size, so probably what you're looking for.)
java -X
-Xmx
-Xms