1.

What is -Xms and -Xmx while starting jvm?(a) Initial; Maximum memory(b) Maximum; Initial memory(c) Maximum memory(d) Initial memory

Answer» Correct option is (a) Initial; Maximum memory

The best 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.


Discussion

No Comment Found

Related InterviewSolutions