netty-socketio icon indicating copy to clipboard operation
netty-socketio copied to clipboard

链接断开后内存不释放

Open baibin2023 opened this issue 11 months ago • 7 comments

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

baibin2023 avatar Mar 14 '24 02:03 baibin2023

+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?

DpaziNN avatar Apr 07 '24 15:04 DpaziNN

Snipaste_2024-04-09_14-52-10 Uploading Snipaste_2024-04-09_14-54-35.png…

flyshines avatar Apr 09 '24 06:04 flyshines

Snipaste_2024-04-09_14-52-10 Uploading Snipaste_2024-04-09_14-54-35.png…

flyshines avatar Apr 09 '24 06:04 flyshines

Snipaste_2024-04-09_14-54-35

flyshines avatar Apr 09 '24 06:04 flyshines

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

HashJang avatar May 19 '24 12:05 HashJang

Any solution to this issue yet? Facing the same:

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

h3mant-1 avatar Jun 17 '24 11:06 h3mant-1

+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

SunnyBoyLJQ avatar Sep 05 '24 03:09 SunnyBoyLJQ