Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!psuvax1!psuvm.bitnet!gfx From: GFX@PSUVM.BITNET Newsgroups: comp.sys.mac.hypercard Subject: Protection against memory limitation Message-ID: <80078GFX@PSUVM> Date: 6 Apr 89 23:46:29 GMT Organization: Penn State University Lines: 10 I wrote a stack that works perfectly well on a Mac SE with 1 Meg. Except when people have CDEVS, Inits, cache settings or other similar things that use a small fraction of memory. Not enough to prevent the stack to open, but when a script calls a paint tool for example, it will fail because there is not enough memory left. Other than warning users that they need a full meg to use the stack, what could be done to 1) exit gracefully from a script if there is not enough memory to execute, 2) detect memory shortage before it creates any problem. Any other reaction, comment or suggestion? Stephane