Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there alternative allocator that can be LD_PRELOADed into a process, overrides "malloc", "calloc", etc. and allocates things using it's own swap files (mmaped to files instead of MAP_ANONYMOUS)?

I hope it will prevent a memory-hungry process from slowing down and thrashing the whole system.

share|improve this question

1 Answer 1

Not that I know of. I don’t believe it would help, either. Your memory-hungry process will still consume as much RAM as with a traditional arrangement, it will just swap to an unusual location once working set exceeds available memory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.