January 23, 2011

"JDeveloper - 11.1.1.4" java.lang.OutOfMemoryError: PermGen space Error

When I start running an ADF pages from JDeveloper 11g (11.1.1.4), I faced an error in the  PermGen space.
I have search a solution for it, and I found a small argument that can be added to the Weblogic environment setting file "setDomainEnv.sh" in Linux and Mac.

In this file I've add the following tow lines:

USER_MEM_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=256m"
export USER_MEM_ARGS


And it works fine.

No comments: