javaheap-memoryheap-size

Why did Java chose Xmx and Xms naming convention for heap sizes?


As per online description following are properties used in Java linked with Sizes:

Use -Xmx to specify the maximum heap size

Use -Xms to specify the initial Java heap size

Use -Xss to set the Java thread stack size

What is meaning of mx and ms? Does mx means maximum and ms means what?


Solution

  • Yes, ms = minimum heap size / heap memory start size and mx = maximum heap size.