Re: Out of memory errors

2009-01-07 Thread Kevan Miller
On Jan 6, 2009, at 9:21 PM, Ken T. wrote: snip That seems to have solved the problem. I was adding the flag by just putting a space delimiter in the string. I'm going to do a Google search on the PermSize and find out why this is a problem. The Sun JVM uses a separate memory space for

Re: Out of memory errors

2009-01-06 Thread Kevan Miller
On Jan 6, 2009, at 5:29 AM, Ken T. wrote: snip OK, it happened again. The log file geronimo.log it attached after my signature. Important part of your log output is: 05:19:13,343 ERROR [log] handle failed java.lang.OutOfMemoryError: PermGen space at

Re: Out of memory errors

2009-01-06 Thread Ken T.
On Tue, 06 Jan 2009 08:43:49 -0500, Kevan Miller wrote: On Jan 6, 2009, at 5:29 AM, Ken T. wrote: snip OK, it happened again. The log file geronimo.log it attached after my signature. Important part of your log output is: 05:19:13,343 ERROR [log] handle failed

Re: Out of memory errors

2009-01-06 Thread Kevan Miller
On Jan 6, 2009, at 3:23 PM, Ken T. wrote: On Tue, 06 Jan 2009 08:43:49 -0500, Kevan Miller wrote: On Jan 6, 2009, at 5:29 AM, Ken T. wrote: snip OK, it happened again. The log file geronimo.log it attached after my signature. Important part of your log output is: 05:19:13,343

Re: Out of memory errors

2009-01-06 Thread Ken T.
On Tue, 06 Jan 2009 17:27:29 -0500, Kevan Miller wrote: On Jan 6, 2009, at 3:23 PM, Ken T. wrote: On Tue, 06 Jan 2009 08:43:49 -0500, Kevan Miller wrote: On Jan 6, 2009, at 5:29 AM, Ken T. wrote: snip OK, it happened again. The log file geronimo.log it attached after my signature.

Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 10:44:41 -0500, Jarek Gawor wrote: If you are starting the server using start-server two separate java processes are created: one for GShell and another one for the server. If you see one java process that takes 50MB that's probably one for GShell. The server process

Re: Out of memory errors

2009-01-05 Thread Jarek Gawor
If you are starting the server using start-server two separate java processes are created: one for GShell and another one for the server. If you see one java process that takes 50MB that's probably one for GShell. The server process allocates more memory then that. Jarek On Mon, Jan 5, 2009 at

Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 01:46:51 -0500, Jarek Gawor wrote: Ken, If you are using start-server command to start the server you might need to edit the etc/rc.d/start-server,default.groovy file to configure the heap size for the server process. The heap size options passed via JAVA_OPTS env. will

Re: Out of memory errors

2009-01-05 Thread Kevan Miller
Ken, In order to help, we need to understand 1) how you are starting Geronimo 2) what environment variables you are setting 3) what version of geronimo you are using --kevan

Re: Out of memory errors

2009-01-05 Thread Ken T.
On Mon, 05 Jan 2009 17:10:44 +, Ken T. wrote: On Mon, 05 Jan 2009 10:44:41 -0500, Jarek Gawor wrote: If you are starting the server using start-server two separate java processes are created: one for GShell and another one for the server. If you see one java process that takes 50MB

Re: Out of memory errors

2009-01-04 Thread Jack Cai
So you have set -XmsIm and -XmxMm options for the JVM? It will be helpful if you can post your (partial) log here. -Jack 2009/1/4 Ken T. ktectr...@gmail.com I'm getting out of memory errors on my site http:// www.electricsenator.net. Now if I watch the memory usage over the course of time

Re: Out of memory errors

2009-01-04 Thread Ken T.
On Sun, 04 Jan 2009 16:17:41 +0800, Jack Cai wrote: So you have set -XmsIm and -XmxMm options for the JVM? It will be helpful if you can post your (partial) log here. -Jack I think I have. I've set JAVA_OPTS in the script that calls start- server. I'll try to get it to break again

Re: Out of memory errors

2009-01-04 Thread Jarek Gawor
Ken, If you are using start-server command to start the server you might need to edit the etc/rc.d/start-server,default.groovy file to configure the heap size for the server process. The heap size options passed via JAVA_OPTS env. will work fine if you start the server using the geronimo.sh

Out of memory errors

2009-01-03 Thread Ken T.
I'm getting out of memory errors on my site http:// www.electricsenator.net. Now if I watch the memory usage over the course of time, I never see it exceed 50 MB for more than a few minutes, it has 1024 MB allocated (a bit less) so I'm not sure why this would be a problem. Is there some bug