Memory corruptions near 32 bit limits

Salvatore Sanfilippo antirez at
Wed Sep 2 10:29:29 PDT 2015

Follow up which is only useful for people reading the archives of this
mailing list searching for "out of memory" "jemalloc" "redis" "crash"
or alike: apparently in Jemalloc 4.0 a bug that may lead to what we
observed with Redis was fixed, so it is possible that it was the

On Wed, Nov 7, 2012 at 9:40 AM, Salvatore Sanfilippo <antirez at> wrote:
> On Tue, Nov 6, 2012 at 6:19 PM, Jason Evans <jasone at> wrote:
>> This is the first I've heard of such an issue.  If you are able to narrow down the failure mode, please let me know so that we can get this fixed ASAP.
> Thank you Jason,
> given that this is a new issue I'll investigate further to understand
> if it could be an issue with Redis itself (I think every single
> allocation is wrapped in order to abort Redis on out of memory, but
> I'll double check this). If it still seems a jemalloc issue I'll see
> if I can reproduce it, so far the only way to reproduce the issue is
> loading a large database file on a 32 bit Linux system N times: most
> of the times it crashes for out-of-memory, a few times it crashes with
> an unexpected signal 11 or failed assertion.
> Cheers,
> Salvatore
> --
> Salvatore 'antirez' Sanfilippo
> open source developer - VMware
> Beauty is more important in computing than anywhere else in technology
> because software is so complicated. Beauty is the ultimate defence
> against complexity.
>        — David Gelernter

Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs

"If a system is to have conceptual integrity, someone must control the
       — Fred Brooks, "The Mythical Man-Month", 1975.

More information about the jemalloc-discuss mailing list