weblogic提示内存不足,无法打开相关的应用,提示如下:
<BEA-000335> Percent of starting server free memory is now at "4%". This is less than the configured threshold of "5%". We will try to garbage collect, but you may consider rebooting
这个时候就需要重新分配domain的内存了
1、用编辑器打开D:/bea/user_projects/domains/integration/setDomainEnv.cmd
修改下段代码
if "%JAVA_VENDOR%"=="BEA" (
set MEM_ARGS=-Xms512m -Xmx1024m //原为128m 256m
)
2、restart服务器,搞定。