Página 1 de 1

X3 memory leaks

Publicado: Mié Abr 03, 2013 12:39 pm
por Ingo Junge-Herrmann
Hi all,
my project shows many memory leaks like this:
Block 1 04a0b8f8 (size 896) XA_WLCREATE(0), " 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000 00000000000070D2A0040000000000000000000000000000000000000000 00000000000000000000000000000000 "
Block 2 04a0d270 (size 80) XA_WLADD(0), " 45000000F89FE80452000000000000004600000000000000410000000000 00004800000000000000520000000000000045000000000000004E000000 0000000000000000000000000000000001000000 "
Block 3 04e89ff8 (size 56) XA_WLADD(0), " 5300000038D6E90441000000000000004300000000000000480000000000 0000450000000000000000000000000000000000000002000000 "
Block 4 04e9d638 (size 48) XA_WLADD(0), " 4B00000000000000550000000000000052000000000000005A0000000000 000000000000000000000000000003000000 "
What does it mean : XA_WLCREATE and XA_WLADD?
How can I found out the reason?
TIA
Regards
Ingo
--

X3 memory leaks

Publicado: Mié Abr 03, 2013 1:11 pm
por ignacio
Hello,
Those two functions are involved with Dataset creation. So, surely is a dataset not destroyed correctly.
Check the Debugger windows after exiting from your app. It may give you some clues about the datasets not destroyed.
When a dataset is owned by a form, Xailer destroys them when the form closes, but if the dataset is created from scratch, then you are the responsible of destroying it.
Regards,

X3 memory leaks

Publicado: Mié Abr 03, 2013 1:36 pm
por Ingo Junge-Herrmann
Ignacio,
thank you, there were some datasets only closed but not destroyed.
Now there are other leaks shown:
Block 1 08ba9758 (size 40) WMNOTIFY(0),
" 50407806A864590968A88600010001000000000000000000287470060000 00000000000000000000 "
Block 2 06784050 (size 40) WMNOTIFY(0),
" 483B12095897BA0868A88600010001000000000000000000E09363000000 00000000000020008100 "
Block 3 09123b48 (size 40) WMNOTIFY(0),
" 28213B095040780668A88600010001000000000000000000287470060000 00000000000000000000 "
What does that mean?
TIA
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <nonametoavoidspam@xailer.com> schrieb im
Newsbeitrag news:515c0e52$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hello,
> Those two functions are involved with Dataset creation. So,
> surely is a dataset not destroyed correctly.
> Check the Debugger windows after exiting from your app. It
> may give you some clues about the datasets not destroyed.
>
> When a dataset is owned by a form, Xailer destroys them when
> the form closes, but if the dataset is created from scratch,
> then you are the responsible of destroying it.
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info