<div dir="ltr">Hi,<div>   I am trying to understand how will be values returned by memorypoolmxbean change when adaptive size is used</div><div><br></div><div>For ex,</div><div><div><br></div><div>CMS GC memory pool mx bean returned values</div><div><b>Name: Par Eden Space, usage: init = 71630848(69952K) used = 2865272(2798K) committed = 71630848(69952K) max = 286326784(279616K)</b></div><div><b>Name: Par Survivor Space, usage: init = 8912896(8704K) used = 0(0K) committed = 8912896(8704K) max = 35782656(34944K)</b></div><div><b>Name: CMS Old Gen, usage: init = 178978816(174784K) used = 0(0K) committed = 178978816(174784K) max = 715849728(699072K)</b></div></div><div><b><br></b></div><div><b>G1GC </b>memory pool mx bean returned values</div><div><b>Name: G1 Eden Space, usage: init = 27262976(26624K) used = 0(0K) committed = 27262976(26624K) max = -1(-1K)</b><br></div><div><div><b>Name: G1 Survivor Space, usage: init = 0(0K) used = 0(0K) committed = 0(0K) max = -1(-1K)</b></div><div><b>Name: G1 Old Gen, usage: init = 241172480(235520K) used = 0(0K) committed = 241172480(235520K) max = 1073741824(1048576K)</b></div></div><div><b><br></b></div><div>This is the value returned after starting jvm, will this(specifically committed or max) value updated after adaptive size is applied?</div><div><br></div><div>Motivation: I am trying to understand how i can use this info (got to know about this from <a href="https://techblug.wordpress.com/2011/07/21/detecting-low-memory-in-java-part-2/">https://techblug.wordpress.com/2011/07/21/detecting-low-memory-in-java-part-2/</a>) detect low memory and drop some objects in my map.</div><div><br></div><div>Thanks,</div><div>Sundar</div></div>