Skip to content

a problem about redis used_memory #690

Closed
xiaochao opened this Issue Sep 27, 2012 · 2 comments

4 participants

@xiaochao

Hi all:
i have a key-value file(36MB, about 1,530,000 lines),when i wrote all of the file to redis.the used_memory of redis is about 180MB.

      i want to know why.

thanks

@FGRibreau

Please insert a preview of the key-value file, thanks.

@dspezia
dspezia commented Oct 6, 2012

Because data stored in dynamic memory structures are much larger than the same data serialized in a flat file.
See http://stackoverflow.com/questions/10004565/redis-10x-more-memory-usage-than-data/10008222#10008222

@antirez antirez closed this Oct 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.