Weblogic 10 虚拟内存大小设置
windows 32位:
在C:\Oracle\Middleware\user_projects\domains\admin\bin\setDomainEnv.cmd中找到:
set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
MEM_PERM_SIZE_32BIT=-XX:PermSize=48m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=128m
更改为:
set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx1024m
MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m
windows 64位:
在C:\Oracle\Middleware\user_projects\domains\admin\bin\setDomainEnv.cmd中找到:
set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=256m
更改为:
set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx1024m
MEM_PERM_SIZE_64BIT=-XX:PermSize=256m
MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m