Re: Geronimo Heap Error

2006-12-29 Thread Peter Petersson
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 the

Re: Geronimo Heap Error

2006-12-28 Thread Peter Petersson
Btw as you can read in /bin/geronimo.sh (if you are using a linux/unix system) a good place to set environment variables used by geronimo is to create a setenv.sh script file and pace it in the geronomo/bin dir. it will be read by geronimo:s start up script. /Peter Bob Dushok skrev: David,

Re: Geronimo Heap Error

2006-12-28 Thread Peter Petersson
I have set up a couple of machines with the following java options JAVA_OPTS="-Djava.awt.headless=true -Xms64M -Xmx512M -server" and a second one with the following java options JAVA_OPTS="-Djava.awt.headless=true -Xms128M -Xmx1024M -server" booth have several web apps running in it and the memo

Re: Geronimo Heap Error

2006-12-27 Thread Bob Dushok
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 ab

Re: Geronimo Heap Error

2006-12-27 Thread Bob Dushok
Thanks! That appears to have corrected the problem. Bob On Dec 27, 2006, at 12:10 PM, problems mail wrote: increase the heap size u need to set the JAVA_OPTS=-Xms1024M -Xmx1024M when u start geronimo. Hope that helps On 12/27/06, Bob Dushok <[EMAIL PROTECTED]> wrote: Our Java web app

Re: Geronimo Heap Error

2006-12-27 Thread David Jencks
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

Re: Geronimo Heap Error

2006-12-27 Thread problems mail
increase the heap size u need to set the JAVA_OPTS=-Xms1024M -Xmx1024M when u start geronimo. Hope that helps On 12/27/06, Bob Dushok <[EMAIL PROTECTED]> wrote: Our Java web app has produced an java.lang.OutOfMemoryError error and placed the following line multiple times in the Geronimo log.