Play the game for a while, the memory error seems to be a memory leak, since it's happening from after half an hour to approx. an hour
the other crash without memory error happens randomly, sometimes even when starting the game and walking a few inches, but also when standing still and collecting apples for example
UPDATE: I now seem to have largely fixed the error, it stopped to crash randomly when i removed the -noBenchmark -noPause and -noSplash parameters from the steam additional parameters, it does not crash using -cpuCount -maxMem and -winxp