轉載地址:http://blog.csdn.net/mycomputerxiaomei/article/details/7416908
<Error> <HTTP> <localhost.localdomain> <esbServer> <[ACTIVE] ExecuteThread: ’0′ for queue: ‘weblogic.kernel.Default (self-tuning)’> <<WLS Kernel>> <> <> <1241883485802> <BEA-101017> <[[email=weblogic.servlet.internal.WebAppServletContext@197c981]weblogic.servlet.internal.WebAppServletContext@197c981[/email]
– appName: ‘consoleapp’, name: ‘console’, context-path: ‘/console’] Root cause of ServletException.
java.lang.OutOfMemoryError: PermGen space
>
####<2009-5-9 下午11時38分07秒 CST> <Error> <Kernel> <localhost.localdomain> <esbServer> <[ACTIVE] ExecuteThread: ’0′ for queue: ‘weblogic.kernel.Default (self-tuning)’> <<WLS Kernel>> <> <> <1241883487493> <BEA-000802> <ExecuteRequest failed
java.lang.OutOfMemoryError: PermGen space.
java.lang.OutOfMemoryError: PermGen space
錯誤解釋:
PermGen space的全稱是Permanent Generation space,是指內存的永久保存區域。這一部分用於存放Class和Meta的信息,Class在被 Load的時候被放入PermGen space區域,它和存放Instance的Heap區域不同,GC(Garbage Collection)不會在主程序運行期對PermGen space進行清理,所以如果APP會LOAD很多CLASS的話,就很可能出現PermGen space錯誤。
解決方法:
我的解決方案:可以在weblogic中設置setDomainEnv.sh :
在文件最後一行加上,參數 MEM_ARGS="-Xms512m -Xmx512m -XX:MaxPermSize=512m"
最終成功解決!!