cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting memory leaks

0 Kudos

Hi everybody!

Searching the world wide web I found numerous pages going on and on about CDMatch or PBSpy to detect memory leaks. Of course, the zips or files are not attached or nowhere to be found on the web. Also PowerBuilder progressed tremendously over the years so I have my doubts about these tools whether they still work at all.

So, my question to you, how do you guys search for those nasty little buggers of objects that have not been destroyed by the garbage collection or got rid of explicitly?

For the record, we use PB12.5.2 (Classic) Build 5801 on Windows 7.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Erik;

  FWIW: Other products  / features that might help you ...

1) PB Classic's Application Profile feature.

2) PB's dynamic internal trace (undocumented).

3) Hooking in MS-Windows system performance monitor feature.

4) Terry Voth's PBLPeeper tool.

5) Novaly's Visual Expert tool.

HTH

Regards ... Chris

0 Kudos

Hi Chris,

Thank you so much for your reply. I will take them into consideration.

I tried the PB Profile feature already but having a hard time reading it. I see that I have more create's than destroy's, but can't really pinpoint where to put the destroy's.

Former Member
0 Kudos

Yes, this can be a bit of a tedious & manual pain staking code checking task to locate missing destroys ... especially, in an application you did not code.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Erik;

FYI:  PB Spy Freeware Version 1.0 by Jeremy Lakeman

I am not sure if Jeremy ever moved passed a "Release 1.0" on that utility (circa 2011).

Regards ... Chris