使用WebSocket整合spring boot出现造成内存泄漏警告

使用WebSocket整合spring boot出现造成内存泄漏警告_第1张图片
警告:
The web application [ROOT] appears to have started a thread named [lettuce-eventExecutorLoop-1-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.misc.Unsafe.park(Native Method)

解决办法:
原因是自己项目LogAspect类 使用了 @Pointcut代理了使用了@ServerEndpoint注解的类
在这里插入图片描述成功解决

你可能感兴趣的:(spring,boot整合websocket)