> > If on any system other than linux, I would consider loading into ram, > > but because of memory overcommit, malloc never fails, the whole system > > crawls to a halt, and the oom killer takes 20 minutes to put > > everything back together. No thanks. > > Okay so you are discussing a problem with your version of unix and > malloc, not with the tool sponge.
Maybe a better solution could be using mmap.