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?