Regular safety-commit.

./run_maxmem.sh:
Plotting a graph for maximum usable memory at a certain point in time. It does this by using 1,5x theoretical heap size and seeing how much memory can be allocated after each op.

The script should do more passes where it more closely approximates how much RAM is needed by upping by, say, 5%, until there are no OOMs at all in the entire run.
Parallelized maxmem plot running.