This discussion is archived
1 Reply Latest reply: Sep 28, 2012 9:00 AM by gimbal2 RSS

Question about Xms and Xms settings.

965083 Newbie
Currently Being Moderated
I just inheriated a system with java options set to the following settings:

-Xms1024, -Xmx1024

I am trying to understand the benefit of having both options set to 1024.


Gp
  • 1. Re: Question about Xms and Xms settings.
    gimbal2 Guru
    Currently Being Moderated
    What the result will be is that the JVM will try to claim a block of memory of 1GB in size to use as its heap space.

    I am not sure anymore on if it is actually a good idea performance-wise to do this or that you should make the -Xms value smaller; it changes per garbage collector implementation.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points