Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否提供一个基于tcmalloc的release的可行程序 #1402

Closed
xmm1989218 opened this issue Nov 15, 2017 · 1 comment
Closed

能否提供一个基于tcmalloc的release的可行程序 #1402

xmm1989218 opened this issue Nov 15, 2017 · 1 comment

Comments

@xmm1989218
Copy link

我现在碰到这么一个问题 机器容量不足 需要迁移 迁移后codis ui已经codis-server中显示单个实力的内存是减少了 但是实际上占用的内存还是不变 我希望我迁移之后内存就自动少下去了 能否提供一个基于tcmalloc的可执行程序 而不是默认的基于jemalloc的 基于jemalloc的版本我是不是只能 先reblance slots 然后老的 把备下了 重新上备 然后主备切换 然后把之前的主下了 然后再上作为备?

@spinlock
Copy link
Member

tcmalloc 和 jemalloc 的区别是什么?

我觉得内存压力是因为 redis 使用过程中内存碎片引起的,而不是内存分配器的原因。我谨慎的怀疑即便换了 tcmalloc 也不会有任何意义。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants