| www.delorie.com/archives/browse.cgi | search |
| From: | Endlisnis <s257m AT unb DOT ca> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: question to malloc and free |
| Date: | Sat, 29 Aug 1998 15:33:21 -0300 |
| Organization: | NBTel Internet |
| Lines: | 15 |
| Message-ID: | <35E84971.FC9BC2B1@unb.ca> |
| References: | <199808271918 DOT PAA16748 AT delorie DOT com> <35E5EDF2 DOT 3DDE5F7D AT unb DOT ca> <35E6D4E8 DOT 275DA73B AT dds DOT nl> |
| NNTP-Posting-Host: | fctnts12c03.nbnet.nb.ca |
| Mime-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
DougEleveld wrote:
> Because
> if you allocated 1.2k and get 2k, and you never access out of the range
> that you are allowed (which you should never do anyway) then the other
> 0.8k will never get paged in, and it will make very little difference if
> 0.8k out of the 4gig is wasted, especially since maximum real+virtual
> memory is way less than 4gig anyway.
But, isn't the page-size 4k?
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |