I have an windows application proj which contains 4 to 5 forms and an database in it. One form performs insertion operation, other performs search operation and other form displays data from DB. Now how to find the total memory or the minimum memory required for this app to run. I need to get the memory usage by all forms in the proj even when only one form is active .
I have used process.privatememorysize64, but will this give the memory used by all the 4 forms or will it give the memory used by the current active form.