Sometimes is usefull to limit the maximum heap size for java. (Especially in a OpenVZ virtual machine(VPS) where java memory managment is terrible: 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 […]