Home > Database > Mysql Tutorial > WeblogicJVM调优

WeblogicJVM调优

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:57:56
Original
2417 people have browsed it

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

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

2、GC垃圾回收设置:

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

串行收集器:-XX:+UseSerialGC

并行收集器:-XX:+UseParallelOldGC

并发收集器:-XX:+UseConcMarkSweepGC

统计信息

-XX:+PrintGC

-XX:+PrintGCDetails

-XX:+PrintGCTimeStamps

-Xloggc:filename

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template