Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got 2GB of RAM and the resource monitor shows that it's only used about 75%. However there are some apps (NetBeans, Visual Studio) that every once in a while start making a lot of hard faults (up to and over 2000/min), thus predictably slowing down to a crawl. How is this so? The memory usage during these "fits" doesn't change. Perhaps it also includes memory mapped files or something?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

When a program is started, it is not necessarily completely loaded into memory, just enough is loaded that is required at any given time. When program code is called that is not yet in physical RAM, a page fault (or hard fault) is raised and the OS will load the required part of the program. You computer may be reporting that a program is consuming, say, 100MB of memory, when most of that memory is still on the drive and yet to be paged into physical RAM.

share|improve this answer
    
Ahh, that might explain it. Indeed, most of these page faults are when something is being started up. –  Vilx- May 28 '10 at 8:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.