"erik quanstrom" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > but why introduce unpredictability? who really programs as if > memory is not overcommited?
Practically everybody. > i would bet that acme and most > residents of /sys/src/cmd could do quite bad things to you in these > cases. there's no waserror() in userland to wrap around memset. You don't have to do that if malloc takes are of it. (See my nearby posting.) > how much memory can be wasted by assuming that all brk'ed memory > can be used? If you allocate the storage, presumably you should expect to use it. Anyway, it's better to be wasteful and correct than randomly failing.
