Mail Archives: djgpp/1998/08/24/08:37:14
Hi everyone !
I'm creating a program with djgpp that need to use alot of
memory, without swapping. Sometimes I alloc it, sometimes I
free it. I use the _go32_dpmi_get_free_memory_information function
to get the avaliable memory (I've disabled swap in CWSDPMI).
Problem: the FAQ says, at 15.2 that "When you call free,
DJGPP library doesn't return memory to the system, it just adds it
to its internal pool of free pages. So, from the system point of
view, these pages are not 'free'."
This way, when I free memory, I don't see any change in
the value returned by _go32_dpmi_get_free_memory_information.
So, how can I calculate the REAL amount of free memory that I
can use ?
Excuses for: my bad english; this long email;
everything else.
Configuration: DJGPP v2.01, CWSDPMI v0.90+ (r4), RHIDE v1.4
Claudio A. Heckler
(heckler AT mat DOT ufrgs DOT br)
PS.: How do I subscribe to the mailling list ?
- Raw text -