This fix restores the original strategy for out-of-memory that existed in FMSLogo 6.29.1, which is to allocate a reserve to be used when malloc() fails for the purpose of returning things back to normal.
This fix isn't perfect, as attempts to select "File -> Load..." after running out of memory cause FMSLogo to disappear. However, unlike bug #564, this is NOT a regression and so is likely due to some other problem.