Mail Archives: djgpp/1997/11/01/22:21:36
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)
|/
______!\ ___-_-_-
- Raw text -