Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.OutOfMemoryError: PermGen space

882776Aug 17 2011 — edited Aug 17 2011
Hi,
While opening a report in my java application I am getting this error frequently (not always). java.lang.OutOfMemoryError: PermGen space <br> Can anybody suggest how to avoid this error ?

Note 1:- In my application lot many database interactions are there.
Note 2:- even in my jboss4.2 run.bat i have added set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m

Edited by: 879773 on Aug 16, 2011 11:42 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 14 2011
Added on Aug 17 2011
6 comments
329 views