Skip to content

how can I free the used_memory_rss usage? #1954

Closed

Description

@skysbird

hi, is there a way to free the used_memory_rss usage? My used_memory_human is near 7G, but used_memory_rss is 10G now. Because I have delete batch of zlist when used_memory_human nearly 10G.
But after deleted, used_memory_human free to 7G but used_memory_rss still at 10G. I know that's something related to the memory fragement. But i still want to free used_memory_rss usage.

Activity

  1. badboy commented on Aug 21, 2014

    @badboy
    Contributor

    See Memory Optimization, Section "Memory allocation".
    If you absolutely need to get this 3 Gb back you need to restart Redis. Otherwise Redis will simply re-use these already-allocated 3 Gb that are not in use currently.

    This bug tracker should be used for bugs or improvements to the Redis server. When you need help with questions like the above please consider writing to the mailing list or ask in the IRC channel (#redis on freenode)

  2. skysbird commented on Aug 22, 2014

    @skysbird
    Author

    thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions