java - Use all available system memory for jvm -


i creating control panel java based game servers , wanted kno how assign available system memory jvm. so, instead of using -xmx512m, use flag automatically assign system memory.

i know not recommended assign of memory want it.

if use waratek jvm able hook api or mbeans control it.

see http://www.waratek.com/

btw when allocating memory, jvm use contiguous memory otherwise fail, though have 100mb free, unless contiguous may not able use all.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -