JVM GC log file configuration
2014-12-03 13:50
232 查看
Solution Manager may collect and analyze JVM GC logs for Apache Tomcat. However, by default no GC log is enabled on the Tomcat server.
To enable GC logging please set the following JVM system property when you start Tomcat’s JVM:
-Xloggc:<path to GC.log> - Enables logging for the JVM GC processes into the log file specified by the <path to GC.log> parameter. Please use an absolute path here.
-XX:+PrintGCDetails - Gives details about the GCs, such as: Size of the young and old generation before and after GCs; Size of total heap Time it takes for a GC to happen in young and old generation; Size of objects promoted at every GC
-XX:+PrintGCTimeStamps - Prints the times at which the GCs happen relative to the start of the application.
To enable GC logging please set the following JVM system property when you start Tomcat’s JVM:
-Xloggc:<path to GC.log> - Enables logging for the JVM GC processes into the log file specified by the <path to GC.log> parameter. Please use an absolute path here.
-XX:+PrintGCDetails - Gives details about the GCs, such as: Size of the young and old generation before and after GCs; Size of total heap Time it takes for a GC to happen in young and old generation; Size of objects promoted at every GC
-XX:+PrintGCTimeStamps - Prints the times at which the GCs happen relative to the start of the application.
相关文章推荐
- Jboss log configuration file
- Eclipse启动时提示An error has occurred.See the log file D:\eclipse\configuration\...
- eclipse 出现An error has occurred. See the log file f:\eclipse\configuration\的解决办法
- jvm gc log
- gc buffer busy/gcs log flush sync与log file sync
- gc buffer busy/gcs log flush sync与log file sync
- gc buffer busy/gcs log flush sync与log file sync
- gc buffer busy/gcs log flush sync与log file sync
- Apache No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
- ospf6d.conf — Open Shortest Path First daemon configuration file
- Citrix的一个安装问题(The Configuration file(s) for this site could not be read )
- Error:Failed to load project configuration:xxxxxxxxxxxxxxxxxxxx cannot read file .idea/misc.xml
- eclipse怎么解决Failed to load the JNIshared library、an error has occurred.see the log file
- 调整JVM GC ( v1.3.1)
- Android logCat 里面一直打印GC_EXPLICIT ,界面有反应迟钝的现象。
- JVM初探- 内存分配、GC原理与垃圾收集器
- JVM结构、GC工作机制详解
- org.apache.commons.logging.LogConfigurationException: No suitable Log constructor,NoClassDefFoundError: org/apache/log4j/Categor
- log_archive_dest&log_archive_dest_n&db_recovery_file_dest的区别
- jvm gc 日志和dump参数