Java two memory Parameter options

Source: Internet
Author: User
Xmx is a Java option that is used to set the maximum memory size that your application can use (optimistic, so that your application is not the entire JVM ), if your program requires a large amount of memory, you need to modify the default settings. For example, when configuring tomcat, if the traffic is too large, you need to increase the value, but remember, do not exceed the memory size of your machine, so that your machine will not be able to stand it, and then it will die.
XMS is another parameter for setting memory. It is used to set the size of the memory stack during program initialization. If this value is increased, the Startup Performance of your program will be improved. However, there are also restrictions and xmx restrictions.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.