In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

X3 memory leaks

Xailer professional forum in English
Responder
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

X3 memory leaks

Mensaje 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
--
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9253
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

X3 memory leaks

Mensaje 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,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

X3 memory leaks

Mensaje 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
Responder