Skip to content

[BUG] memory leak after overload or timeout #630

Closed
@amosyxy

Description

@amosyxy

Describe the bug
memory leak
3 master and 3 slave

To Reproduce
do robuness test
using api AsyncRedisCluster to send set, get, delete to redis server with 1000000 keys and each the value has 10k len and each key 100 len
please send the traffic at high speed util get error includint timeout error and overload
and memory of client app will increase more and more over 5G or more
and then decrease the traffic to very very low speed
and continue observer the RES memory of client app by top command
even the traffic is very small, but the memory still not decreased for the whole night in idle

Expected behavior
we expect the memory should go backto normal

Environment:

OS:
gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu224.04)
root@iZuf6gqbr8mboxi4muxirlZ:/redis/redis-plus-plus/build#
root@iZuf6gqbr8mboxi4muxirlZ:~/redis/hiredis# git branch
(HEAD detached at v1.2.0)

root@iZuf6gqbr8mboxi4muxirlZ:~/redis/redis-plus-plus# git branch
(HEAD detached at 1.3.13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions