Link to home
Start Free TrialLog in
Avatar of Dr_Debdarsan_Niyogi
Dr_Debdarsan_Niyogi

asked on

Memory leak from the third party component

Using Delphi 2005 on Windows XP, how to make sure that all the components (third party) placed on the form are getting freed up when FreeAndNil(Form) is called. Using Memcheck, I am finding that, there are memory leaks for the third party component, after freeing the form. I have the source of the third party components, but it is huge and very complex to debug. Any help?
Thanks!
ASKER CERTIFIED SOLUTION
Avatar of MerijnB
MerijnB
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
alternatively, the trial version of EurekaLog (www.eurekalog.com) also has quite good memory leak detection.
Avatar of Dr_Debdarsan_Niyogi
Dr_Debdarsan_Niyogi

ASKER

I had used both of them, have the stack trace for memory leak, but it is very difficult to fix the the third party component code!
can you dump the fastmm logging here?
or post this 3th party component somewhere
could you give me your email? I can send the entire source of the component suit...
hmm, I think that is against EE rules, since it would mean that anybody coming to search for this solution later won't find it.

Start with the dump of FastMM, let's see if we can get somewhere from there.
what components you use?

ziolko.
How you identify the memory leak is with that component?
I am using CDD components - I am trying to send you a skeletal code sample.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin