If you still have out of memory problems try adding
-XX:MaxPermSize=128m
(64m is the default in sun java sdk 1.5) to your JAVA_OPTS.
What java version are you using?
/Peter
Bob Dushok skrev:
David,
The app is a fairly simple web app consisting of several JSP
apps. I can't be certain there isn't an infinite loop, but all of the
pages appear to complete execution.
It's odd, the server now starts with about 150mb of ram used.
Shortly after launch the usage drops to about 80mb and stays around
that amount. Prior to changing the heap size the server only had
allocated about 70mb of ram with 50 or 60mb used at launch.
Is this normal memory usage for Geronimo?
Thanks,
Bob
On Dec 27, 2006, at 12:40 PM, David Jencks wrote:
If increasing the heap size doesn't work I'd think that perhaps your
app goes into a loop and uses up all the memory. You could probably
detect this by just looking :-), profiling, or adding some debug
logging statements at likely spots.
hope this helps
david jencks
On Dec 27, 2006, at 11:16 AM, Bob Dushok wrote:
Our Java web app has produced an java.lang.OutOfMemoryError error
and placed the following line multiple times in the Geronimo log.
Can anyone tell me how to correct this problem?
Thanks,
Bob
3317: 10:52:05,503 ERROR [ThreadPool] Caught exception
(java.lang.OutOfMemoryError: Java heap space) executing
[EMAIL PROTECTED],
terminating thread