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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

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