Whenever I run tomcat, I get this error
/Library/Tomcat/bin/catalina.sh: line 236: -XX:MaxPermSize=512m: command not found
though the tomcat starts after deployment but after sometime i do get outofmemory errors.
I looked at catalina.sh:236
and I see this line there
JAVA_OPTS=-server -XX:MaxPermSize=512m -Xms512m -Xmx1024m -Xss64M
whats wrong here ?
Quotation marks are missing. Change it to:
JAVA_OPTS="-server -XX:MaxPermSize=512m -Xms512m -Xmx1024m -Xss64M"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.