1. Constantin Bergatt
  2. PowerBuilder
  3. Monday, 16 September 2019 12:17 PM UTC

Hello everyone,

I am currently in the process of hunting memory leaks in one special functionality of our 32-bit product. Unfortunately it is a very complex and long running process.

Doing some research on the internet, I found an old tool CDMatch which would at least give me a good idea, where we are losing some memory.

So after some tweaking I found a way to get a trace of a single, successful run of the wanted functionality. Regrettably the size of the trace file amounts to about 790 MB, which PowerBuilder itself and CDMatch are unable to open/handle.

When trying to open the file with the PowerBuilder internal "Profiling Trace View", PowerBuilder crashes without a warning.

Running CDMatch from within the IDE also does crash when hitting the maximum of allowed memory (about 1.7 GB). Even creating a 64-Bit executable and running the program does just consume lots and lots of memory using up all of my free disk space for swapping.

So my main question is, what would be the best approach to analyze such a huge trace file, when even PowerBuilder itself seems to run into memory problems?

Regards,

Constantin

Bose Samuel Accepted Answer Pending Moderation
  1. Monday, 20 March 2023 15:51 PM UTC
  2. PowerBuilder
  3. # 1

I could not open the .pbp file . Please help to open .pbp file in PB 12.6 version. Thanks

Comment
There are no comments made yet.
Constantin Bergatt Accepted Answer Pending Moderation
  1. Tuesday, 17 September 2019 06:48 AM UTC
  2. PowerBuilder
  3. # 2

Hi Ferdinand,

I also had some troubles getting it.

Fortunately I found a forum post by Larry Peters, which mentioned that he could provide the wanted *.PBL file.

So please find attached the CDMatch.pbl.

Regards,

Constantin

Attachments (1)
Comment
  1. Ferdinand Fischer
  2. Tuesday, 17 September 2019 06:59 AM UTC
Thank you.
  1. Helpful
There are no comments made yet.
Ferdinand Fischer Accepted Answer Pending Moderation
  1. Tuesday, 17 September 2019 06:39 AM UTC
  2. PowerBuilder
  3. # 3

Hi Constantin,

could you upload the CDMatch.pbl?

The tool sounds intersting but i cant  find the tool online.

Regards,

Ferdinand

 

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Monday, 16 September 2019 14:34 PM UTC
  2. PowerBuilder
  3. # 4

Open the trace file in NOTEPAD++.

It's free and an extremely good tool!
https://notepad-plus-plus.org/download/v7.7.1.html

 

Olan

 

Comment
  1. René Ullrich
  2. Tuesday, 17 September 2019 05:24 AM UTC
Hi Olan,

PBP files (form PowerBuilder tracing functionality) are binary files. There is no readable information if you open it in Notepad++.

PBG files (PowerBuilder Debug files creates with /PBDebug) are text files.

René
  1. Helpful
  1. Olan Knight
  2. Tuesday, 17 September 2019 16:39 PM UTC
Ah, thanks, Renee!

  1. Helpful
  1. Miguel Leeuwe
  2. Tuesday, 17 September 2019 21:37 PM UTC
Maybe http://www.techno-kitten.com/PBL_Peeper/Online_Manual/Trace_Page/trace_page.html

could help reading the /pbdebug generated output files, but it might also crash with files that big.
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.