---------(Tomcat Listener)-----------

Tomcat 性能的因素是内存泄露。Server标签中可以配置多个Listener,其中 JreMemoryLeakPreventionListener是用来预防JRE内存泄漏。此Listener只需在Server标签中配置即可,默认情况下无需配置,已经添加在 Server中。

<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />

 

相关文章:

  • 2021-04-12
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-11-17
  • 2021-12-23
  • 2021-06-24
  • 2021-08-27
猜你喜欢
  • 2021-12-10
  • 2021-09-05
  • 2022-12-23
  • 2021-07-28
  • 2021-10-07
  • 2021-08-11
  • 2021-11-19
相关资源
相似解决方案