Mail Archives: djgpp/1998/06/02/18:34:27
hello
I've searched the djgpp mailing list archives and found interesting
stuff on disabling virtual memory and getting memory information from
the system (_go32_dpmi_get_free_memory_information)
My problem is: I want a way to know when all the physical memory is
used up so I can compress the data I'm working on (random map generation)
and go on processing without having to hear the sweet music of swapping
In DOS mode (using CSWDPMI), I can use _go32_d[..].available_physical_pages
The problem is with Win95 (how suprising) : available_physical_pages never
reaches zero even after the swapping starts.
If you know an alternative solution to prevent swapping, I'd love to hear
about it !
TIA
Dan42
- Raw text -