208210Close
PpHdOn the 2009-11-04 at 07:12pm
Lionel Debroux (./207) :
In MAY (the zs interpreter, I mean), I've tried to execute "1000!" and then "2000!". Computing 1000! works properly, but 2000! crashes the calculator (Protected Memory Violation).


For 1000!, there is no reached memory limit.
For 2000!, the first reached limit is the stack overflow (And zs doesn't handle such exception).
Note that huge stack overflow can not be detected...
Folco (./208) :
Then, it works again.

As usual after a crash.
In this case, the first reached limit is the available heap memory.
After the clean command, everything go back to normal.
I have discussed with you an option to auto execute clean command after a crash.