Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Sleep function and system memory

14 Feb 2014   #1

Windows 7 Home Premium 64bit
Sleep function and system memory

OK so let me just state right off the bat that I'm not having any system issues but I found this odd.

I started using the Sleep function on the computer instead of completely shutting it down (I still shut the computer down at night though). Anyway I noticed after doing a complete start up of the system I usually have about 60 processes or so showing in the task manager and about 1.2GB of memory used.

Now after putting the system to sleep and then waking it up I notice that I still have the same amount of processes in the task manager showing up but the memory usage drops to below 1GB to around 850MB - 950MB. Does anyone else have this happen? Is this normal or is something amiss? I just kind of find this weird.

My System SpecsSystem Spec

14 Feb 2014   #2

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1

That's normal and nothing to be concerned about.
My System SpecsSystem Spec
14 Feb 2014   #3

Windows 7 Home Premium 64bit

Nice to hear . Thanks for posting.
My System SpecsSystem Spec

14 Feb 2014   #4

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1

You're welcome.
My System SpecsSystem Spec
14 Feb 2014   #5

Windows 7 Home Premium 32 bit

I suspect this is due to workset trimming.

Understand that the amount of RAM used by a process, even those belonging to the system, is not controlled by the process itself but by the memory manager. The basic principles of how this works has been documented but many of the details have not. I suspect that the memory manager doesn't know anything about the sleep function because it doesn't need to. Most likely the memory manager sees a number of processes with memory that hasn't been used recently (because the computer has been sleeping) and trims the memory they are using. This is a routine operation and can occur very quickly.

But this is all just guesswork. Since Microsoft has most likely never documented these details I can do nothing else. But I have no reason to believe that this memory difference is anything but standard operating procedure for the OS.

There are many details of how Windows works internally that has never been publicly documented. The same applies for Linux and Mac OS and other operating systems as well. There are good reasons for this. One is that if some detail is documented some developer somewhere will find a way of taking advantage of it. If the behavior were to be changed at a later date the application may break, and you can easily guess who will get the blame.
My System SpecsSystem Spec
14 Feb 2014   #6

Windows 7 Home Premium 64bit

Thanks for the reply LMiller7 . That is a very nice explanation of what probably is happening. Thanks for the replies again guys . I'm marking this thread as solved.

PS: It's always nice getting an answer from someone in the same Country and Province which doesn't happen very often lol .
My System SpecsSystem Spec

 Sleep function and system memory

Thread Tools

Similar help and support threads for2: Sleep function and system memory
Thread Forum
Sleep function problem Hardware & Devices
No Wake From Sleep BlockedI have an issue with the sleep function. T BSOD Help and Support
Sleep Function Freezing (no BSOD) BSOD Help and Support
Sleep function General Discussion
SLEEP Function. Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:25 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33