What is -Xms and -Xmx while starting jvm?

a) Initial; Maximum memory
b) Maximum; Initial memory
c) Maximum memory
d) Initial memory

1 thought on “ What is -Xms and -Xmx while starting jvm?”

  1. a
    Explanation: JVM will be started with Xms amount of memory and will be able to use a maximum of Xmx amount of memory. java -Xmx2048m -Xms256m.

Leave a Comment