mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.82k stars 1.65k forks source link

链接断开后内存不释放 #966

Open baibin2023 opened 8 months ago

baibin2023 commented 8 months ago

我的版本是2.0.8,出现内存释放不了的情况,请问如何解决? 链接断开后内存依然是居高不下,垃圾回收只是回收一点点内存,慢慢的将内存挤爆,请问是什么一直占用内存?

DpaziNN commented 7 months ago

+1 having the same issue on 2.0.9 - memory never releases after clients disconnected, and keep growing over the time - i.e. about 700mb by 10 days (about 1000 connections per day). Could this be due to the use of MemoryStoreFactory? Doesn't it clean itself?

flyshines commented 7 months ago

Snipaste_2024-04-09_14-52-10 ![Uploading Snipaste_2024-04-09_14-54-35.png…]()

flyshines commented 7 months ago

Snipaste_2024-04-09_14-52-10 ![Uploading Snipaste_2024-04-09_14-54-35.png…]()

flyshines commented 7 months ago

Snipaste_2024-04-09_14-54-35

HashJang commented 5 months ago

refer to this issue and pr: https://github.com/mrniko/netty-socketio/pull/926

h3mant-1 commented 5 months ago

Any solution to this issue yet? Facing the same:

memory never releases after clients disconnected, and keep growing over the time.

SunnyBoyLJQ commented 2 months ago

+1 having the same issue on 2.0.9 - memory never releases after clients disconnected, and keep growing over the time - i.e. about 700mb by 10 days (about 1000 connections per day). Could this be due to the use of MemoryStoreFactory? Doesn't it clean itself?

2.0.11 this problem still exist