Count all the times your app allocates memory and subtract when you
deallocated it.  If your app is small enough, you can keep count in your
head while stepping through.  I've also added a variable I increment and
decrement accordingly, then check its value just before the app exits.
You can also use the information provided by Pose to locate the section of
code that produced the leak.

----- Original Message ----- 
From: "Ornstein, Adam" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, April 26, 2004 9:30 AM
Subject: memory leaks...


>
>
> Hey,
>
> Does anyone have any suggestions as to where would be a good place to
begin
> searching for memory leaks?  I assume that they are similar to
de-allocated
> pointers, but I was wondering if anyone might be able to give me some
> pointers.
>
> Thx
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to