Monday, December 27, 2010

Perm gen space error in jdev

The Perm gen space often appears in jdeveloper when you re-run a UI application without stopping the server. This error can be avoided by adding the following to the project properties JAVA OPTIONS :-

Project Properties -> Run/Debug/Profile -> Default -> Edit -> Java Options ->

-Xms256m -Xmx1024m -XX:PermSize=96m -XX:MaxPermSize=512m -XX:CompileThreshold=8000

2 comments:

Unknown said...

Thanks man... it worked for me.
I tried change every variable in scripts without success, but with this configuration the application was deployed.

Thanks man.

Ahmed Gaber said...

Thanks man you saved me hours :-)