开发者

Why there is a limitation of 2GB redis.io database on 32 bit machine

开发者 https://www.devze.com 2023-03-31 10:23 出处:网络
Why there is a limitation of 2GB redis.io database for 32 bit machine; How can I overcome开发者_高级运维 that limitation under 32-bit machine. 32 bit systems can\'t handle addresses greater than 2^32.

Why there is a limitation of 2GB redis.io database for 32 bit machine; How can I overcome开发者_高级运维 that limitation under 32-bit machine.


32 bit systems can't handle addresses greater than 2^32. That is 4GB, though the available memory for an individual process is obviously going to be lower than that.

The recommended approach is to split your data across multiple smaller redis instances.

This can even make sense on a 64 bit machine, since redis requires significantly less memory if it can use 32 instead of 64 bits for internal addressing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号