Implemented simple memory manager to keep total paranoid buffers below ~512MB
TODO: test if it actually works
TODO: make the 512MB a user setting