Catch memory leaks in runtime packages

delphi package - automated exception handling

Catch memory leaks in runtime packages

Postby delphiman » Thu Aug 25, 2016 5:21 pm

Hi, we work with a runtime application package .

Is possible configure the MadExcept to catch memory leaks in packages?

In several tests the MadExcept can not intercept the memory leaks.

Grateful.

Regarts,

Delphiman.
delphiman
 
Posts: 3
Joined: Thu Aug 25, 2016 5:17 pm

Re: Catch memory leaks in runtime packages

Postby madshi » Thu Aug 25, 2016 5:24 pm

I think I tested that at some point, but it's a long time ago, so I'm not 100% sure right now.

Have you tried recompiling the packages with madExcept activated? I think you only need to enable the options "link in madExcept settings" and "report resources leaks". If that still doesn't work, maybe you need to use "madExcept_.bpl" as a package instead of linking it into your EXE file? Have you tried that?

We're talking about a 32bit EXE, right?
madshi
Site Admin
 
Posts: 9432
Joined: Sun Mar 21, 2004 5:25 pm

Re: Catch memory leaks in runtime packages

Postby delphiman » Thu Aug 25, 2016 6:02 pm

Hi, thanks for your return and tips. I had done all these tests before, but it did not work.

Have you tried recompiling the packages with madExcept activated?
R: Yes, the same mode with I use in EXE files.

I think you only need to enable the options "link in madExcept settings" and "report resources leaks". If that still doesn't work, maybe you need to use "madExcept_.bpl" as a package instead of linking it into your EXE file? Have you tried that?
R: Yes, I'll try too. But, unfortunately not work.

We're talking about a 32bit EXE, right?
R: Yes. My Application is 32 bits.

The only way I can test and verify memory leaks is to incorporate the package in a test EXE. I set up the project and can test. My goal was no longer need to do so. Is Test memory leaks in the official application.

You may have any other tips?

Regarts.
delphiman
 
Posts: 3
Joined: Thu Aug 25, 2016 5:17 pm

Re: Catch memory leaks in runtime packages

Postby madshi » Thu Aug 25, 2016 6:05 pm

I'll have to test this myself. Which Delphi version are we talking about? Might take a couple of days until I find time for this, though.
madshi
Site Admin
 
Posts: 9432
Joined: Sun Mar 21, 2004 5:25 pm

Re: Catch memory leaks in runtime packages

Postby delphiman » Thu Aug 25, 2016 6:09 pm

We use Delphi XE.
With regard to time for you to test without problems.
I can work around the situation.

From already thank you very much for your attention.
delphiman
 
Posts: 3
Joined: Thu Aug 25, 2016 5:17 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 2 guests

cron