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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -