Hi Yves,
Thanks for your remark. I will modify the code.
Regards,
--
Pierre Delore
http://datalinkwristapps.free.fr
http://dpsite.free.fr
- e...@free.fr a écrit :
> Besides what you corrected, the various 'exit' statement in your code
> will leave an xdoc unfreed.
>
> Pierre Delo
Besides what you corrected, the various 'exit' statement in your code
will leave an xdoc unfreed.
Pierre Delore wrote:
> Hi,
>
> I'm finishing to develop an application. Everything works fine.
Yesterday I made some tests and I noticed that I have a huge memory leak
when I try to load new data.
>
>
FirstChild/NextSibling fix my problem. Thanks.
Regards,
--
Pierre Delore
http://datalinkwristapps.free.fr
http://dpsite.free.fr
- "Pierre Delore" a écrit :
>
> Thanks Sergei for your answer.
>
> I Forgot to indicate that I use the last stable version of lazarus
> (0.9.28.2).
>
Thanks Sergei for your answer.
I Forgot to indicate that I use the last stable version of lazarus (0.9.28.2).
I will try to modify my code to use FirstChild/NextSibling.
Regards,
--
Pierre Delore
http://datalinkwristapps.free.fr
http://dpsite.free.fr
- "Sergei Gorelkin" a écrit :
Pierre Delore wrote:
...
I try to search in the wiki and I didn't found thing that help me.
Since you did not specify your compiler version, I guess it's something
pre-2.4.0.
See this link:
http://wiki.freepascal.org/User_Changes_2.4.0#dom_unit:_memory_management_for_node_lists
Either upgrade
Hi,
I'm finishing to develop an application. Everything works fine. Yesterday I
made some tests and I noticed that I have a huge memory leak when I try to load
new data.
I load 6000 lines of data that I transfer in TFPObjectList. I first thought
that the problem came from the list. I removed t