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]
