What's your JVM? For Sun's, use:

java -X 

to see list of options,

java -Xmx150Mb

to let Java use up to 150 Mb. Modify script you are using to start
Tomcat to add this option.

Vadim

> -----Original Message-----
> From: Al-Qalb el-Mounir [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 10, 2002 5:56 PM
> To: [EMAIL PROTECTED]
> Subject: Fresh start with Cocoon 2.1!
> 
> I am running jakarta4.0.2 on RHLinux 7.1 with Apache
> 1.3.22ssl. I downloaded cocoon2.1 and dropped the war
> file in the webapps. Now when I type
> http://myserver.com/cocoon it takes a few moments and
> then spits this error page for me. The log files do
> not show anything wrong. What is going on, what is the
> thing about the "-J-mx"? Where should I put it?
> 
> If someone have an answer I would appreciate it.
> 
> ======== Start Error page. =========
> type fatal
> 
> message Language Exception
> 
> description org.apache.cocoon.ProcessingException:
> Language Exception:
> org.apache.cocoon.components.language.LanguageException:
> Error compiling sitemap_xmap: Line 0, column 0: The
> compiler has run out of memory. Consider using the
> "-J-mx" command line option to increase the maximum
> heap size.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /cocoon/
> 
> path-info
> 
> ====== End Error page. =================
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send FREE Valentine eCards with Yahoo! Greetings!
> http://greetings.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to