Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What is -Xms and -Xmx while starting jvm?

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

Answer: 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.

Join The Discussion