On Jul 14, 2005, at 5:16 PM, Timothy A. Chagnon wrote:
I have a mis-behaving Tomcat webapp (that I didn't write) which
likes to
increase its memory size from ~80M on startup to ~125M after some
amount
of usage at which point it crashes with OutOfMemoryException.
Obviously
the devs need to fix whatever memory they're leaking or filehandles
they've left open so that the thing is actually scalable.
You need to look at the Tomcat4 HEAP size. Tomcat internally limits
the amount of memory an app can use, probably in your case to 128M.
You need to add an "-Xmx 256M" or some such option to your Tomcat
startup.
-T
-----
Tarus Balog
The OpenNMS Group, Inc.
Main : +1 919 545 2553 Fax: +1 503-961-7746
Direct: +1 919 647 4749 Skype: tarusb
Key Fingerprint: 8945 8521 9771 FEC9 5481 512B FECA 11D2 FD82 B45C
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc