tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: using the "-J-mx<number>" command line option
Date Tue, 15 Oct 2002 12:57:30 GMT
Hi,
You would put in your $CATALINA_HOME/bin/Catalina.sh as one of your
JAVA_OPTS, e.g.
JAVA_OPTS='-J-mx256'

However, I'm suspicious of this error.  Can you compile the JSP outside
tomcat's runtime, e.g. using JspC?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Bart Vels [mailto:bvels@grafidata.nl]
>Sent: Monday, October 14, 2002 7:55 AM
>To: tomcat-user@jakarta.apache.org
>Subject: using the "-J-mx<number>" command line option
>
>
>I get the message:
>
>"org.apache.jasper.JasperException: Unable to compile class for JSPThe
>compiler has run out of memory.  Consider using the "-J-mx<number>"
command
>line option to increase the maximum heap size"
>
>Can someone tell me step-by-step how to invoke the above mentioned
command
>line option, I'm a beginner!?
>
>regards,
>Bart
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


Mime
View raw message