问题描述
这不是编程问题,但我想了解此类程序背后的理论.有一个名为Cleanmem的程序 http://www.pcwintech.com/cleanmem [ ^ ]会自动按计划释放内存. Cleanmem作者谈论使用Windows API实现此目的.但是我不明白.当内存达到一定限制时,它们如何自动释放内存?在Windows中,某些应用程序处于"Minimized"
状态时会释放内存.我想在我的程序中实现这样的功能,以便它在一段时间后释放内存.我在Visual Studio 2005上使用C#开发应用程序.
This is not a programming question, but i want to know the theory behind such programs. There is a program called Cleanmem http://www.pcwintech.com/cleanmem[^] which automatically releases memory on schedule. Cleanmem author talks about using Windows API to achieve this. But i don''t get it. How do they release memory automatically when memory reaches certain limit? In windows, some applications release memory when they are in "Minimized"
state. I would want to implement such in my programs so that it releases memory itself after some time. I develop applications using C# on visual studio 2005.
推荐答案
这篇关于诸如cleanmem之类的程序如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!