A customer is complaining that my program is using too much memory. However, after working with them for a while, I've realised that:
- They've turned off their page file (on their terminal services box).
- They're worried about the size of the "private working set" figure in task manager for my program.
So, my question is, if I just trim the size of the working set with EmptyWorkingSet() after my program has started up (it uses lots of memory during XML parsing but then deletes it, but the working set doesn't seem to go down) I can make the working set figure go right down. However, will this actually help the customer? I have a feeling this just means that the working set will be paged and I believe if you have the page file turned off, the working set is backed by real memory anyway....
Is it true to say that what task manager reports as "private working set" is really how much my program has new/malloced?