@neauoire my present approach: just don't ever collect anything in RAM. when you run out of RAM, you swap it to disk. diskwise (a) you have hundreds of gigabytes available to fill (b) your I/O is synched, so you can naturally use those syncpoints to collect garbage on disk