PDA

Click to See Complete Forum and Search --> : how to clear memory


Apr 17th, 2000, 08:24 PM
before my program run i want to know the remaining memory
and also i want to clear memory that's not use or unused

KENNNY
Apr 18th, 2000, 06:11 AM
well the first bit's easy - use the GlobalMemoryStatus API call. you have to pass a structure that's filled with the info - use API viewer to get the declares.
I'm not sure about the second bit, it's dangerous, better to leave it to windows :) (although it does a crap job of managing memory)