This comes up in the normal course of running a complex but not unreasonable computation. The SWI window is using 1GB memory, but there’s no reason it couldn’t use a lot more. Also of note, if I (without terminating my program) request to run the computation a second time it succeeds. I would like to never get stack_overflow so long as my computer has memory.
error(resource_error(stack),stack_overflow{choicepoints:11,depth:2782,environments:28,globalused:453669,localused:4,stack:[frame(2782,assoc:insert(t,t/4,x,t/5,_44502558),[]),frame(2781,assoc:insert(<,t/5,t/4,x,_44502596,_44502598),[]),frame(2779,assoc:insert(<,t/5,t/4,x,_44502636,_44502638),[]),frame(2777,assoc:insert(<,t/5,t/4,x,_44502676,_44502678),[]),frame(2775,assoc:insert(<,t/5,t/4,x,_44502716,_44502718),[])],stack_limit:1048576,trailused:262141})ERROR: FAILED REQUEST (replay_system)
Calling garbage_collect before the computation did not fix it.
If you don’t like regression, just stick with that version of the devel series until you experience another problem or the next stable is released and you should be fine,