Weblogic JVM 调优

1、内存设置

修改weblogic\user_projects\domains\base_domain\bin下的setDomainEnv.cmd文件:设置大小根据实际情况确定

if "%JAVA_VENDOR%"=="Sun" (

  set WLS_MEM_ARGS_64BIT=-Xms512m –Xmx1024m

  set WLS_MEM_ARGS_32BIT=-Xms512m –Xmx1024m

) else (

  set WLS_MEM_ARGS_64BIT=-Xms1024m –Xmx1024m

  set WLS_MEM_ARGS_32BIT=-Xms1024m –Xmx1024m

)

set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m

set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=256m

2GC垃圾回收设置:

修改weblogic\user_projects\domains\base_domain\bin下的setDomainEnv.cmd

串行收集器:-XX:+UseSerialGC

并行收集器:-XX:+UseParallelOldGC

并发收集器:-XX:+UseConcMarkSweepGC

统计信息

 -XX:+PrintGC

 -XX:+PrintGCDetails

 -XX:+PrintGCTimeStamps

 -Xloggc:filename

 

Weblogic JVM 调优,布布扣,bubuko.com

Weblogic JVM 调优

上一篇:Tips on how to Fix People Problems Appearing in the Business of Mining Machinery?


下一篇:PHP在线生成3D条形图,折线图