>>16
sometimes it makes more sense to tell the user "i can't get enough memory to do that" and then ask the user what to do instead of just exiting.
how would you like it if your text editor crashed if a regular expression search caused it to use too much memory?