1

Today when I turned on my PC and logged in Windows (8.1), I noticed the HDD's LED is on persistently (without blinking) and the Windows is unbelievably slow and is lagging tortuously!

I opened the task manager (with like 30 seconds lag) to see what's going on...And this was it:*

enter image description here

Seeing 98% of the 8 GB memory being used, explained the slowness. But, what didn't add up was which process was taking it! Adding up all those numbers probably wouldn't even reach 100 MB, let alone ~7GB!

So, I also checked the process monitor and things got more confusing:*

enter image description here

Now, can someone explain to me

  • What that 6.7 GB "modified" memory is and why so much?
  • When does a thing like this happen?
  • What is the solution to freeing that amount of RAM to get Windows back to normal?

Hardware:

AMD FX 6350 | 8 GB RAM | 1 TB HDD


*Sorry about the quality of the pics. It was so slow, I had to use my phone!

12
  • 1
    With a commit charge of what looks like 23GB I'd suggest that CoreTemp has a memory leak there. I'd kill and restart that process.
    – Mokubai
    Oct 25, 2015 at 17:43
  • post some details of your hardware Oct 25, 2015 at 18:06
  • which network card do you use? Oct 25, 2015 at 18:20
  • @magicandre1981 I am not exactly sure...the motherboard is ASUS and I think the network chip is Realtek. Is it relevant?
    – Mahm00d
    Oct 25, 2015 at 18:23
  • open device manager (devmgmt.msc) and look which network card you use. Oct 25, 2015 at 18:24

1 Answer 1

1

Looking at the top of your second image it looks to me that it is quite probably CoreTemp that is the problem. While is only using some 20MB of working memory it has a severe virtual memory leak and is using up 24GB of virtual memory.

As a result it has probably absorbed all of the VM available to your system and so the memory manager is struggling to give any memory to new applications.

First task: kill CoreTemp.

The "modified" memory is usually memory pages that are waiting to be flushed to the swap file, this would be consistent with a program that has allocated an insane amount of virtual memory and the system is stuck paging it out.

To explain the commit charge we resort to Wikipedia:

In computing, commit charge is a term used in Microsoft Windows operating systems to describe the total amount of pageable virtual address space for which no backing store is assigned other than the pagefile. On systems with a pagefile, it may be thought of as the maximum potential pagefile usage. On systems with no pagefile, it is still counted, but all such virtual address space must remain in physical memory (RAM) at all times.

Essentially the maximum commit charge of a system is the total amount of memory that can be backed by the swap file. The commit charge of any process is the amount of memory then that program has requested access to.

The problem there though is that a program can request more memory than is physically installed in the system, or more than it actually needs, and essentially starve out other processes. I suspect that this is what has happened in this case. CoreTemp has requested every last piece of allocatable memory that your system has and so the memory manager is having difficulty forcing pages out to disk so that it can load new tasks in.

It's probably also having trouble allocating pages at all, at that kind of size I'd suspect that that is all of your physical and virtual (swapfile) memory allocated.

2
  • OK. This also explains 100% disk usage. Also, It may sound noob, but doesn't Windows allocate RAM to programs before allocating VM? I mean, how can a program use that amount of VM with just using 20MB of RAM?
    – Mahm00d
    Oct 25, 2015 at 18:33
  • @Mahm00d - Yes; It does; Your virtual memory settings might be preventing it from increasing the size of pagefile.sys to such a large value. In other words Windows appears like it was attempting to provide that much memory but was failing to do so. Also worth pointing out you have a high amount of page faults which goes back to your I/O disk usage.
    – Ramhound
    Oct 26, 2015 at 11:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .