Link to home
Start Free TrialLog in
Avatar of Wanting2LearnMan
Wanting2LearnManFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Monitor Private bytes usage

My Windows mobile app is crashing after many hours use.  I think it may be a memory leak.  I one time found a memory leak on my PC application by monitoring the private bytes around a certain function call.  I found that the private bytes usage would increase every time this function was called and eventually the app cashed.

How can I monitor the provate bytes usage in my windows mobile app, is there any c++ code to do this?
SOLUTION
Avatar of evilrix
evilrix
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wanting2LearnMan

ASKER

I am using eVC++ to build my app and my program is runninng on a WM6 device so I dont think I can get Visual Studio to act as a remote debugger.  Or can I??

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks,

Do you have any links or info on how to do this for an exe running on a WM6 device?

I will be using ActiveSync by the way.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>Also consider debugging the app in an emulator. If it leaks, it will leak on the emulator.
OK I will try that also.

>>Also, isn't it time to port your project into Visual Studio 2005/2008?
Yes that is on my TO DO list.  I have tried to update it and I get loads and loads of errors and warnings.  I'll just have to take time out and do it some time.  (I dont have time at the moment)
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial