jetty服务器使用遇到一下内存溢出的问题:

java.lang.OutOfMemoryError: unable to create new native thread   无法创建新的进程

方法:

1、对代码调优

2、对jetty调优:

  内存调优start.ini:主要有以下参数:

    jetty调优

 

   线程调优:主要是一下参数:

    maxthread:最大线程数

    acceptcount:排队线程数

    maxthread+acceptcount < 6000

以上问题可以试着使用线程调优试着解决。

相关文章:

  • 2021-12-04
  • 2022-01-13
  • 2021-09-19
  • 2022-12-23
  • 2021-04-16
  • 2021-12-21
猜你喜欢
  • 2021-06-09
  • 2022-12-23
  • 2022-12-23
  • 2021-04-25
  • 2021-12-11
  • 2022-12-23
  • 2022-03-06
相关资源
相似解决方案