Making it work under Linux
Segmented memory recording in paralell with contiguous recording.
Needs some sort of GC to periodically clean out all files starting with "segment" in the memory_recording directory (tobedonelater).