-
1. Actually getting OutofMemoryError
richbolen May 21, 2004 3:11 PM (in response to richbolen)I discovered that the servlet was getting an OutofMemoryError. The weird thing is that other server components seem to work fine. I can view the jmx-console web app. I can log into a web based reports app that we wrote. But the one servlet gets an outofmemoryerror.
How could one servlet report outofmemory while other components in the VM work fine?
Are there memory leaks in JBoss 3.2.3 or the tomcat web container?
I've already increased VM heap size to 512M.
Rich -
2. Re: Working servlet suddenly starts getting HTTP error 500
dumptruck Aug 17, 2004 10:05 AM (in response to richbolen)My server (3.0.7) is running on an multiprocessor and previously would die after about 5 hrs. I just tried the following GC options and it's been running for almost 24hrs:
-server -XX:+UseParallelGC -XX:+AggressiveHeap
Seems that multiprocessors can push cause problems for the GC. Nice article here:
http://java.sun.com/docs/hotspot/gc1.4.2/#4.1.When%20to%20Use%20the%20Throughput%20Collector|outline