>>17
Come on. What is the user going to do without allocating any memory? The proper behaviour is to crash. This isn't like disk space, where you can run perfectly well for a few moments until you delete something. The question is whether to crash with a specific message or an obtuse one. Considering all hell is going to break loose if you run out of memory, the user is unlikely to be confused.