| delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net comp.os.msdos.djgpp:4541 |
| From: | gmontem AT sfsu DOT edu (GEORGE ARUGAY MONTEMAYOR) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: How much free memory? |
| Date: | 3 Jun 1996 17:48:52 GMT |
| Organization: | San Francisco State University |
| Lines: | 10 |
| Message-ID: | <4ov8i4$kp6@news.csus.edu> |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 960602093754 DOT 19090J-100000 AT is> |
| NNTP-Posting-Host: | gmontem AT taurus DOT sfsu DOT edu |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
-- Since there is an answer to figure out how much free physical memory... how do you figure out free memory avaiable (RAM, not physical)? I can't seem to find a function that does it under djgpp v2.0. Is there a function that does this? Any techniques? Any libraries? At first, I thought of making a loop of mallocs to see how much memory I can allocate, but I figured that is too slow and inefficient. -george
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |