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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -