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.

link|improve this question

64% accept rate
feedback

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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