Mail Archives: djgpp/2000/08/18/19:16:40
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote :
> > ---------------- contents of stderr -
> > 59136 40136 59136
> > 48832 40136 48832 <=== It's OK
> > 48832 40136 48832
> > 48832 40136 48832 <==== Why delete[] dosn't change
> > information about free memory ?
> Because delete[] doesn't return memory to the system, it puts it on
> the program's internal pool of free memory.
> See section 15.2 of the DJGPP FAQ list for details, it's all there.
OK, finaly I read it :)
But... still I don't know how to check this amount of free memory.
I used sbrk(), _go32_dpmi_get_free_memory_information(...),
_go32_remaining_virtual_memory(), value returning by malloc - all things
described in DJGPP FAQ,
and *NONE* of them worked,
excaly - all of them returned the sam value before and after delete[]...
So, finaly I think, that ther isn't ANY method for checking REAL ammount of
free virtual / physical memory under DJGPP ?
:-( Rafal
- Raw text -