且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Web应用程序似乎已启动名为[22]的线程但未能将其停止。这很可能造成内存泄漏

更新时间:2022-05-28 21:50:03

我将使用 visualvm 1.3.2 并查看正在创建的线程。请务必添加所有插件。

I'd use visualvm 1.3.2 and see what threads are being created. Be sure to add all the plug-ins.

如果您的代码没有完成,您将无法控制它。

If it's not being done by your code you won't have much control over it.

您也不知道该消息是否是红鲱鱼。在一段时间内对代码进行负载测试,并衡量会发生什么。

You also don't know if the message is a red herring or not. Load test your code over a period of time and measure what happens.