0

What does the JVM -Xms paramater do?

I expected the process stack of the jvm process to occupy atleast the minimum configured Xms value. But this doesn't seem to be the case. Why doesn't the process status of the jvm already occupy the minimum configured heap value?

Is it that the memory will grow to the minimum configured value without the GC ever running?

Edit: This question is asking more that what is explained here What are the Xms and Xmx parameters when starting JVMs?

Community
  • 1
  • 1
Kiran Mohan
  • 2,696
  • 6
  • 36
  • 62
  • 1
    These are parameters that control the heap size, not the stack size. – Thilo Apr 12 '16 at 08:08
  • The minimum heap size doesn't fill the heap with objects. The `-Xms` sets the initial size for the heap. – Peter Lawrey Apr 12 '16 at 08:10
  • Please reword the question, and move the bolded part up into the question subject instead of embedded inside another question which appears to duplicate the closed question. – AlBlue Apr 12 '16 at 08:52

0 Answers0