1.

What is -Xms and -Xmx while starting jvm?(a) Initial; Maximum memory(b) Maximum; Initial memory(c) Maximum memory(d) Initial memoryThis question was addressed to me in my homework.Question is from Heap and Garbage Collection topic in division Classes and Methods of Java

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