Set the tomcat6 startup parameters in Windows

Source: Internet
Author: User

From: http://zhangmeng.blog.51cto.com/310854/175625

 

Tomcat 6 in Windows Simplifies Multiple BAT files, such as Catalina. BAT and startup. bat. Therefore, the settings can only be monitored by Tomcat. ProgramFollow these steps:
1. Open tomcat6w.exe in the binlog of tomcat6. this is the background monitoring program of tocmat6.
2. Select the Java Tab
3. Set the initial memory pool to 512 maximum memory pool to 1024
4. Set Java options and add three lines at the bottom of the input box. (It cannot have spaces with the above default parameters; otherwise, it cannot take effect):
-XX: permsize = 128 m
-XX: maxnewsize = 256 m
-XX: maxpermsize = 256 m

5. Restart Tomcat 6 to take effect.

Related Article

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.