You may be running out of stack, try upping the -Xss setting. In one
application where we did a log of XML parsing and transforming we had to
up this setting. 

Peter Fournier




-----Original Message-----
From: Jacob Kjome [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 23, 2004 11:35 AM
To: Tomcat Users List
Subject: Re: Tomcat dies at 167M


Quoting Shannon Scott <[EMAIL PROTECTED]>:

> Greetings,
> Tomcat is running, and was working fine until the memory usage went up

> to 167, now none of the .jsp pages will respond ( the server hangs 
> forever ). The last entries from the Catalina.out are :
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
> java.lang.OutOfMemoryError
>
> I don't understand how the JVM could be our of memory because I set it

> to use 256M. So the last time this happened, I wrote a piece of code 
> that would leak some memory thinking that might be somehow related, 
> but the tomcat process used more than 167M when I tested that page.
>
>
> I have set the CATALINA_OPTS="-Xms64M -Xmx256M", and everything looks

Well it could be because "-Xmx256M" means absolutely nothing to the VM.
You need to use "-Xmx256m".  Notice the case of the "m".  It is *very*
important.

Jake

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


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

Reply via email to