How to reclaim RAM without reboot?

Answered How to reclaim RAM without reboot?

  • 2012년 4월 1일 일요일 오전 7:09
     
     

    Hi,

    I normally would need to have lots of different applications opening at the same time, each with multiple documents. Although by using batch file I could automatically load some of them on startup, there are still many with specific settings that have to be done manually. Therefore, it is timely expensive for me to re-open restart regularly such as on a daily basis.

    My machine is 32-bit which and have already installed the maximum 4GB RAM. After running Windows 7 (Home Premium) for an extended period of time, say, 3 days, I would usually found that most of the physical RAM spaces are consumed. However, if I open resource monitor and sum the

    1. Private
    2. Private + Sharable = working set

    I found both are much smaller than the amount of “used memory” as shown in Task ManagerPerformance, even after subtracting the some 700MB RAM consumed by the Windows system itself.


    Even if close all the opening applications, I would still found a large memory consumption despite the fact that there are no running applications other than the Windows system itself. I would normally have over 1.8G RAM used after closing all applications without reboot as revealed by Task Manager Performance, but after reboot this figure is only 0.9GB.  So who have consumed the additional 1.8G – 0.9G = 0.9G RAM?


    I know that it is not an easy job to write C/C++ programs that perfectly releases allocated all memory upon exit, so there are many “garbage” spaces wasted after a certain amount of time. And for the large applications I usually run, most of them are written in C/C++. So is this additional 0.9G “used memory” due to garbage spaces?


    In addition, is there any tool/utility that can clear the memory so that wasted spaces like this can be released without reboot? I actually believe it would be a major improvement of the Windows OS, but is it possible to do with some tool?



    Bob

모든 응답

  • 2012년 4월 1일 일요일 오전 11:21
     
     
    windows does that job for you.
     
    memory is meant to be used.
    when windows needs some, it finds ways of getting it.
    using the hard drive for a cache.
     "Bob Sun" wrote in message
    news:adda0532-3357-4d21-9304-6c2c10199bfc@communitybridge.codeplex.com...
    > Hi,
    >
    > I normally would need to have lots of different applications opening at
    > the same time, each with multiple documents. Although by using batch file
    > I could automatically load some of them on startup, there are still many
    > with specific settings that have to be done manually. Therefore, it is
    > timely expensive for me to re-open restart regularly such as on a daily
    > basis.
    >
    >
    > My machine is 32-bit which and have already installed the maximum 4GB RAM.
    > After running Windows 7 (Home Premium) for an extended period of time,
    > say, 3 days, I would usually found that most of the physical RAM spaces
    > are consumed. However, if I open resource monitor and sum the
    >
    >  1.. ∑Private
    >  2.. ∑Private + ∑Sharable = ∑working set
    > I found both are much smaller than the amount of “used memory” as
    > shown in Task Manager≫ Performance, even after subtracting the some
    > 700MB RAM consumed by the Windows system itself.
    >
    >
    >
    > Even if close all the opening applications, I would still found a large
    > memory consumption despite the fact that there are no running applications
    > other than the Windows system itself. I would normally have over 1.8G RAM
    > used after closing all applications without reboot as revealed by Task
    > Manager≫ Performance, but after reboot this figure is only 0.9GB.  So
    > who have consumed the additional 1.8G – 0.9G = 0.9G RAM?
    >
    >
    >
    > I know that it is not an easy job to write C/C++ programs that perfectly
    > releases allocated all memory upon exit, so there are many “garbage”
    > spaces wasted after a certain amount of time. And for the large
    > applications I usually run, most of them are written in C/C++. So is this
    > additional 0.9G “used memory” due to garbage spaces?
    >
    >
    >
    > In addition, is there any tool/utility that can clear the memory so that
    > wasted spaces like this can be released without reboot? I actually believe
    > it would be a major improvement of the Windows OS, but is it possible to
    > do with some tool?
    >
    >
    >
    >
    > Bob
    >
     
  • 2012년 4월 2일 월요일 오전 2:08
     
     답변됨

    due to the complexity of windows, its memory manager has to work hard to keep up

    worse I tend to hibernate my machine all the time which aggravates the situation

    eventually windows destabilizes and its time to reboot

    I am a developer and I can tell you windows is so complex that it takes a huge team of people to maintain it


    Windows MVP 2010-11, XP, Vista, 7. Expanding into Windows Server 2008 R2, SQL Server, SharePoint, Cloud, Virtualization etc. etc.

    Hardcore Games, Legendary is the only Way to Play

    Developer | Windows IT | Chess | Economics | Vegan Advocate | PC Reviews

    • 답변으로 표시됨 Bob Sun 2012년 4월 2일 월요일 오전 11:33
    •  
  • 2012년 4월 2일 월요일 오전 11:34
     
     

    Mikeyhsd and Vegan,

    I got the answers. Thanks very much.

    Bob