Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

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