Tomcat & JRuby on rails: java.lang.OutOfMemoryError: PermGen space

Hi,

When reload two times an jruby on rails app get
java.lang.OutOfMemoryError:
PermGen space

iam using warble and the Catalina options are :

export CATALINA_OPTS="-Xms512m -Xmx512m -XX:PermSize=64m"

Thanks in advance

Perhaps you meant to use MaxPermSize?

Jorge Alberto Rodriguez Suarez wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I test setting

export CATALINA_OPTS=“-Xms512m -Xmx512m -XX:PermSize=64m
-XX:PermSize=128m”

but get the same problem

any idea?

thx

On Sat, Oct 3, 2009 at 3:08 PM, Steve B. [email protected] wrote:

iam using warble and the Catalina options are :
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Jorge A. Rodríguez Suárez
( Continuum CEO & Founder )
+56 9 94330057
Skype: jorge.rodriguez.suarez
Twitter: http://twitter.com/j4rs
http://continuum.cl

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the
technology
and methodology in the world can’t help you…” [Martin F.]

Ok, i try export CATALINA_OPTS=“-Xms512m -Xmx512m -XX:PermSize=64m
-XX:MaxPermSize=512m”

and now is stable !

On Sun, Oct 4, 2009 at 8:01 AM, Jorge Alberto Rodriguez Suarez <
[email protected]> wrote:

When reload two times an jruby on rails app get

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the technology
and methodology in the world can’t help you…” [Martin F.]


Jorge A. Rodríguez Suárez
( Continuum CEO & Founder )
+56 9 94330057
Skype: jorge.rodriguez.suarez
Twitter: http://twitter.com/j4rs
http://continuum.cl

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the
technology
and methodology in the world can’t help you…” [Martin F.]

Sorry, was

export CATALINA_OPTS=“-Xms512m -Xmx512m -XX:PermSize=64m
-XX:MaxPermSize=128m”

and the same results :frowning:

On Sun, Oct 4, 2009 at 8:01 AM, Jorge Alberto Rodriguez Suarez <
[email protected]> wrote:

java.lang.OutOfMemoryError: PermGen space

Jorge A. Rodríguez Suárez
( Continuum CEO & Founder )
+56 9 94330057
Skype: jorge.rodriguez.suarez
Twitter: http://twitter.com/j4rs
http://continuum.cl

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the technology
and methodology in the world can’t help you…” [Martin F.]


Jorge A. Rodríguez Suárez
( Continuum CEO & Founder )
+56 9 94330057
Skype: jorge.rodriguez.suarez
Twitter: http://twitter.com/j4rs
http://continuum.cl

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the
technology
and methodology in the world can’t help you…” [Martin F.]

This is a know issue with Tomcat (and most other Java App Servers)
that they don’t correctly clear the permanent generation after
undeploy. The only solutions are to increase the permgen settings or
to restart the app server every few deploys. It’s not an issue with
your app or warbler.

On Sun, Oct 4, 2009 at 7:08 AM, Jorge Alberto Rodriguez Suarez
[email protected] wrote:

export CATALINA_OPTS="-Xms512m -Xmx512m -XX:PermSize=64m

-XX:PermSize=128m"

Skype: jorge.rodriguez.suarez
Jorge A. Rodríguez Suárez
( Continuum CEO & Founder )
+56 9 94330057
Skype: jorge.rodriguez.suarez
Twitter: http://twitter.com/j4rs
http://continuum.cl

“…I believe the biggest impact on successful software development is
motivated, talented developers. If you don’t have that all the technology
and methodology in the world can’t help you…” [Martin F.]


Eagle K.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email