Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.