Click here to Skip to main content
14,979,508 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear All,

I want to write a sample application to show a notification to the user "Windows is running out of memory delete the log files" when there is no sufficient memory in the machine.

Regards,
Pavan
Posted

"Delete the log files"?? That has nothing to do with memory, so it's a bit confusing. Disk space, probably, but not memory.

Also, how do you know it's because of the "log files"?? There can be any number of things that are going wrong to delete physical memory and you won't be able to detect what that was.

"Low memory" situations can also be caused by things that have nothing to do with memory at all, such as exhausting the handle pool...
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900