Howdy, You're getting that because you need more memory - java by default will run A good start now that you have something running (at least up to the point it crashes with the OutOfMemory error) would be to 1) Set -Xmx at something much higher than you should need, e.g. -Xmx2048m 2) Run your app with a profiler. See where memory gets allocated. See how much memory you really need. Gradually trim down -Xmx until you reach a point you have enough memory to handle your peaks, and then some for safety.
Welcome to the fun exciting world of java heap performance tuning ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Remy Maucherat [mailto:[EMAIL PROTECTED]] >Sent: Friday, June 21, 2002 9:46 AM >To: Tomcat Users List >Subject: Re: Tomcat 4 performance issues - Trying Tomcat 4.1.3 Beta > >Victor Popiol wrote: >> I installed Tomcat 4.1.3 beta. Took a while to configure because the >hidden issue with the user vs username parameter in the datasource >definition. >> >> After it has been running for a day, it died. Looking at the logs I found >the following: >> >> java.lang.OutOfMemoryError >> <<no stack trace available>> >> java.lang.OutOfMemoryError >> <<no stack trace available>> >> java.lang.OutOfMemoryError >> <<no stack trace available>> >> java.lang.OutOfMemoryError >> <<no stack trace available>> >> >> Any idea of components leaking memory? > >Without any additional details, I can't really help. > >A bug which could cause this has been fixed after 4.1.3: >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9715 > >This bug was also present in TC 4.0.x, though. > >Remy > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>