tags:

views:

312

answers:

2

I know you can set max heap size at startup using -Xmx but is it possible to change it dynamically during runtime?

Is there any tool or (undocumented) api which will allow me to do that?

+4  A: 

No, it is not possible.

Dev er dev
Which is too bad so we could have GC ergonomic agents.
Xepoch
+2  A: 

Once the memory structure is fixed it cant be changed

Umair Ahmed