Closed GoogleCodeExporter closed 8 years ago
Hello, is it possible that this is due just to the Linux OOM killer killing the
process for out of memory, pelase can you verify this in your dmesg output?
Thank you.
Original comment by anti...@gmail.com
on 19 Apr 2011 at 11:50
Thanks for replying.
I can't see any reference to redis in the output of dmesg. I have attached it
here for your analysis.
Original comment by luip...@gmail.com
on 19 Apr 2011 at 12:04
Attachments:
What do you see in the log or standard output of the terminal running Redis? I
suspect that Redis is unable to allocate more memory since it is compiled as
32-bit. This would not trigger OOM, but rather return a NULL when allocating
new memory which causes Redis to abort. Can you retry against an instance that
is compiled for a 64-bit target? If you have enough memory and the same doesn't
happen around ~500K keys, we'll know that a 32-bit compiled Redis cannot
address enough memory to hold the data you're putting in...
Original comment by pcnoordh...@gmail.com
on 19 Apr 2011 at 1:29
Thank you for the suggestion. That seems to be the cause as my program was now
able to run successfully.
Is this an inherent limitation of 32-bit programs?
Original comment by luip...@gmail.com
on 20 Apr 2011 at 2:50
Yes, when a program is compiled for a 32-bit target its addressing space is
limited to 32 bits, or 4GB. Good to hear this solved your issue.
Original comment by pcnoordh...@gmail.com
on 20 Apr 2011 at 7:56
Original issue reported on code.google.com by
luip...@gmail.com
on 19 Apr 2011 at 11:46Attachments: