troubleshooting Question

C++ page fault tracking?

Avatar of PMH4514
PMH4514 asked on
System ProgrammingC++
19 Comments2 Solutions2791 ViewsLast Modified:
I have a relatively small app written in C++ 6.0 that is basically an agent of sorts. It executes SQL server calls on a timed basis, and it can receive and forward incoming files. Even while it's running at "full throttle" will files being pushed in, processed and pushed out the mem and VM usage is never over around 30k..
The app remains running and I've noticed now after it's been running for 3 or 4 days that the page faults in the task manager is upwards of 9,000,000

Is there a way in my C++ 6.0 debugger that I could run it and have it stop when a page fault occurs? Some tool I can plug into the IDE to allow a break when a page fault occurs? I really have no idea what condition in my code is creating them.  I can't find a whole lot on page faults in my searches other than comments that lead me to think "don't worry about it" but this app will need to be running constantly, as a service and who knows how high the count could go.. It's not a memory intensive app, so how can I find and limit the page faults that are happening?


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros