Java.lang.OutOfMemoryError:Java Heap Space Solution __java

Source: Internet
Author: User

Mine is the setup version of Tomcat 6.0.

Check on the Internet, all said to modify the memory space

Looking for a long time, did not catalina.bat this document

Later found that is clicked Bin/tomcat6w.exe, switch to the Java tab to set up, but set up after the start Tomcat, still appear this problem


Further find, how to modify JVM parameters, find the following content, modified to start normal

If you are starting Tomcat inside MyEclipse, set JVM parameters in the following location, Window->preferences->myeclipse Enterprise workbench-> Servers->tomcat 6.x->jdk->optional Java VM arguments:
-xms1024m
-xmx1024m
-xx:permsize=128m
-xx:maxpermsize=256m
-xx:maxnewsize=256m

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.