PDA

View Full Version : Strange memory leak?


Andy
28-Feb-2007, 11:52 AM
I am using version 6 in Delphi 2005. I have a project (the first I am
debugging with Eurekalog), and have a memory leak that I cannot get much
info about. If I double click the error link to open Delphi, it opens
to the projects source with the "begin" line highlighted.

Any idea what might be causing the memory leak? Nothing unusual about
the source file. I have tried other projects and have not had a problem
with them.

Andy

berens
28-Feb-2007, 11:54 AM
This often happenes if you've created an object and didn't free it properly. Maybe Eureka told you a classname of the object you didn't free?

Maybe you could post a bit or your error report...

Fabio Dell'Aria
02-Mar-2007, 09:13 AM
Hi,

Andy wrote:
> I am using version 6 in Delphi 2005. I have a project (the first I am
> debugging with Eurekalog), and have a memory leak that I cannot get much
> info about. If I double click the error link to open Delphi, it opens
> to the projects source with the "begin" line highlighted.
>
> Any idea what might be causing the memory leak? Nothing unusual about
> the source file. I have tried other projects and have not had a problem
> with them.
>
> Andy

Can you post the .ELF file, please?

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!

Andy
08-Mar-2007, 09:45 AM
OK, I found the bug. It was that the main form of my project was "using
"a set of internet components with a memory leak (cannot remember which
one, but it is well documented leak from what I read on the internet).

In factmy main form wasnt using the components, but I had added them at
one point to try them, and then removed the component from the form, but
it remained in the uses section.

Fabio Dell'Aria wrote:
> Hi,
>
> Andy wrote:
>> I am using version 6 in Delphi 2005. I have a project (the first I am
>> debugging with Eurekalog), and have a memory leak that I cannot get
>> much info about. If I double click the error link to open Delphi, it
>> opens to the projects source with the "begin" line highlighted.
>>
>> Any idea what might be causing the memory leak? Nothing unusual about
>> the source file. I have tried other projects and have not had a
>> problem with them.
>>
>> Andy
>
> Can you post the .ELF file, please?
>