| delorie.com/archives/browse.cgi | search |
| Date: | Sat, 1 Nov 1997 22:19:35 +0500 (GMT) |
| From: | Guillermo Porras <guporras AT calvin DOT univalle DOT edu DOT co> |
| To: | djgpp AT delorie DOT com |
| Subject: | Out of mem so soon. |
| Message-ID: | <Pine.GSO.3.96.971101221027.11045B-100000@calvin.univalle.edu.co> |
| MIME-Version: | 1.0 |
I malloc memory for lists i handle.
The lists change very often and i malloc new mem for the new lists
and free() the old lists mem.
But soon i got out of mem ,
I think there is some part of my prog, in which
i´m not free()ing something I´m malloc()king to many times.
So i just had the Idea to monitor my total free mem
and /or used mem.
Is there a function to see how much mem i got free or used ?
I´m sure I might need less than 3 Mb Ram for what i´m doing.
So I´m not thinking in Virtual as an option.
Thank´z
, .|.
<@7 --O--
cc' '|`
/Y)
|/
______!\ ___-_-_-
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |