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
Lusankya

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
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

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

Windows 7 Home Premium 64bit
 
 

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

14 Feb 2014   #4
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

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

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
Lusankya

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
Reply

 Sleep function and system memory




Thread Tools




Similar help and support threads
Thread Forum
Wireless function disabled after sleep LenovoY530
Hello I have a problem with Lenovo Y530. Every time the computer sleeps, wireless function get's disabled and after waking up, computer cannot connect to any network. Trying to use the combination Fn+F5 which should toggle wireless function does nothing. The solution to the problem is to run...
Network & Sharing
No Wake From Sleep BlockedI have an issue with the sleep function. T
I have an issue with the sleep function. The computer does not awake from sleep. When I try to do it, it behaves as if it was waking, but it never ends and there is only a black screen; the mouse and keyboard are inoperative. The only thing possible to do is a hard reboot. When it boots, it shows a...
BSOD Help and Support
Does a sleep mode function exist within the windows setup?
Right, as title says, is there a sleep mode in the windows setup, say i let the setup screen on for like..? i dont know, 6 hours. would it still be fully active after i come back, or will i find my computer sleeping ?... and yes, the PC has multiple drives.
Installation & Setup
Sleep Function Freezing (no BSOD)
Hello, When my computer running (win7 64 bit) tries to sleep I have found that Windows cannot sleep but it freezes the computer and I get white noise from the speakers. The keyboard or mouse do not work. The only thing I can do is do a restart by pressing the restart button. It hasn't actually...
BSOD Help and Support
Problem with Hibernate/Sleep function, Windows 7
Hi, Please can someone help me with the Hibernate function in Windows 7. Many months ago I spent countless hours trying to troubleshoot the Hibernate/Sleep function on Windows 7 and eventually gave up. I subsequently had to reinstall Windows 7 on a reformatted drive and to my...
Hardware & Devices
Sleep function disabled.. how do you enable?
Here's the skinny: I downloaded the RC over the summer to try it out, alongside linux mint. I like it so much that I've decided to abandon the linux distro for now and let Windows 7 take over my whole hard drive. The one thing remaining before falling in love is the lack of standby mode. The...
General Discussion


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 11:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App