[jboss-user] [Performance Tuning] New message: "Re: java.lang.OutOfMemoryError: PermGen space"
Alexander Berry
do-not-reply at jboss.com
Wed Mar 3 07:26:38 EST 2010
User development,
A new message was posted in the thread "java.lang.OutOfMemoryError: PermGen space":
http://community.jboss.org/message/529630#529630
Author : Alexander Berry
Profile : http://community.jboss.org/people/aberryjr
Message:
--------------------------------------------------------------
Yes, doing a lot of String, methods/classes can cause errors such as this and as you stated this occurs when there are a lot of variables being initialized. Below is a guide from sun on these errors. Also if they are attempting to use a lot of Strings and doing String operations they may try to use the "Stringbuilder" instead of String.
http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/memleaks.html#gbyuu
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529630#529630
More information about the jboss-user
mailing list