Multiple choice technology web technology

Following parameter is used to set Maximum memory to JVM

  1. –Xms

  2. –Xmx

  3. –Xmax

  4. –Xmn

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The -Xmx parameter sets the maximum heap size that the JVM can use. -Xms sets the initial heap size, while -Xmn configures the size of the young generation. There is no -Xmax parameter in standard JVM options.