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 ERROR [log] handle failed java.lang.OutOfMemoryError:
PermGen space
        at com.sun.net.ssl.internal.ssl.ServerHandshaker.processMessage
(ServerHandshaker.java:135)

So, you're running out of PermGen memory, not HeapSpace. Try something
like:

JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m"

--kevan


I'm using the groovy script, but I can't seem to set MaxPermSize without
the JVM crashing on startup.  Any ideas?

Heh. Ideas? Sure.

1. How are you attempting to set MaxPermSize?
2. How is server startup failing?

Please try to provide more information in your posts. They seem to consistently lacking information (e.g. full description of your environment, settings, failure information...).

This seems to do a pretty reasonable job in my etc/rc.d/start- server,default.groovy file:

// Append some reasonable java flags if none were configured already
if (command.javaFlags.empty) {
    command.javaFlags << '-Xmx512m'
    command.javaFlags << '-XX:MaxPermSize=256m'
}

Let us know if that fixes your problem...

--kevan

Reply via email to