- Erick Bergsma
- PowerBuilder
- Tuesday, 5 January 2021 02:17 PM UTC
Happy New Year all...
PowerBuilder 2017: R3: 1880...
I recently converted a report from a .TXT file to a PDF.
We are now seeing that the process that creates these PDFs has exponentially made an existing memory leak issue worse. We are still creating the original TXT report and the PDF report for a time...just in case...
The original report also has a memory leak, but the PDF is worse, and since we are creating both reports in the same process, its basically doubled the leak issue.
I created a .PBP file ...
I am using the Profiling Class View to try and figure out where the leak might be... but I'm really not understanding how to read it.
For example...
...however, in my code I have CREATE logic like this...
...which I don't see in the Profiling View Class window.
This is a non-visual process that reacts to messages it is being sent. For this new PDF report, I have not created any new datastores. I am re-using the same data sets as the original report, just building a composite report and doing a Save As ...
So... how do I read this Profile View, to try and understand if there are objects that has CREATE logic, but no DESTROY logic.
Any help or direction would be appreciated...
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.