Ok, I reproduced this in an unmodded run. Huge map, no mods, 16 AI
In this trial run, I got past a few dozen turns and then turned on auto-turn Ctrl + Z. In the linked zip file, it contains a save before the auto-turn was turned on and the debug.log when memory overflow was hit.
Download here: http://www.filedropper.com/test_15