In Windows 7, is there a way to know how much memory a service is using?

All we need is an easy explanation of the problem, so here it is.

In windows 7, is there a way (by using common interface or a custom utility) to know how much memory a specific windows service is using ?

It seems most services are hosted by svchost.exe processes ( some svchosts.exe processes seems to host tons of services). While it is possible to know which services are hosted by a specific process, I found no way to get information about how much memory a service take.

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

Take a look at Process Explorer from the SysInternals suite of tools. Sort the process column by name, and find svchost. Then, you can see in the description field (sometimes) the actual service that is running. The Private Bytes column will show you how much that particular service is using in memory.
enter image description here

Method 2

By using task manager (Ctrl+Shift+Escape)you can right click the svchost process and select Go to service(s) and it will highlight the service(s) being hosted in that process.

Alternatively by selecting the PID column in the process tab you can then match the PID in services tab.

Method 3

You can also use the build in Windows Task Manager and go to View > Select Columns > and check the ones that say “Memory” this should be about seven they all give you different ideas about what the program is actually doing at that moment.

Method 4

There’s also resource monitor. It’s new to windows 7 and 2k8r2. It’s like task manager on steroids. Not sure why nobody uses this. It’s actually easier to sus out problems with it than with process explorer in my experience. With task manager open, just click the “resource monitor” button on the performance tab.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply