Sometimes is usefull to limit the maximum heap size for java. (Especially in a OpenVZ virtual machine(VPS) where java memory managment is terrible: http://www.r00t.gr/2011/03/openvz-vps-and-java-error-and-how-to-fix-it/)You can do this with the xmx parametr of command line java, but if you run many programs, with crons and through other programs, you will need a way to globaly set […]