delorie.com/archives/browse.cgi | search |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: Virtual memory and malloc(). |
Date: | Fri, 05 Jun 92 11:25:13 PDT |
From: | Jonathan Ryshpan <hitachi!jon%amito DOT halsp DOT hitachi DOT com AT uunet DOT UU DOT NET> |
>... >My fervent opinion is that malloc() should return a NULL, not crash, when >it runs out of memory. Probably go32 ought to understand a PLINIT environment variable giving the max process size, or swap file size if this is more convenient, in (say) K-bytes. A program which allocates more than 40,000 or 50,000 K-bytes is very likely broken. If not, change the environment. Who volunteers to do this?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |