Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think it may depend on the distro (on Ubuntu, for instance, you can set MALLOC_CHECK_ to 2 to force aborts on errors --- but this also forces the use of a debugging malloc, and you should care about malloc performance).

So what I'd recommend is, grab Jason Evans' jemalloc package and use that (it's good enough for Facebook!).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: