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.

Origin of Memory Leaks

Xailer professional forum in English
Responder
Avatar de Usuario
Dionisis Divaris
Mensajes: 484
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Origin of Memory Leaks

Mensaje por Dionisis Divaris »

Hellow Team
Can you help me to find the origin(s) of those memory leaks. Many thanks for your time.


Attached files
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Origin of Memory Leaks

Mensaje por jfgimenez »

Dionisis,
I'm not sure, but it seems to be related to the tooltips from some control. Please, run your program and forze to show the tooltip from only one control, and see if it causes the memory leak. If not, run it again and test another control, and so on, until the offending control is located.
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
Dionisis Divaris
Mensajes: 484
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Origin of Memory Leaks

Mensaje por Dionisis Divaris »

Many thanks Jose
I found that toolbar do not releases properly the memory allocated for balloon type tooltips. With normal type tooltips there is no memory leaks. So please take a look on this issue. Many thanks again for your help.
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Origin of Memory Leaks

Mensaje por jfgimenez »

Dionisis,
> I found that toolbar do not releases properly the memory
> allocated for balloon type tooltips. With normal type
> tooltips there is no memory leaks. So p;ease take a look on
> this issue. Many thanks again for your help.
Yes, you're right. The toolbar with balloon tooltips were losing memory.
Many thanks for your feedback.
Here you are the fixed module (.o for MinGW and .obj for BCC). Add it to
your project to fix the problem.
https://www.dropbox.com/s/mfp44uunjlw0l5z/Xailer.zip
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
Dionisis Divaris
Mensajes: 484
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Origin of Memory Leaks

Mensaje por Dionisis Divaris »

Many thanks Jose
I'm glad to hear that solve it, I can not use this obj becuase the IsWin8() function. This function raise an undefine reference to XA_IsWin8 error. I use XAILER 3.2.
So waiting for the new version.
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Origin of Memory Leaks

Mensaje por jfgimenez »

Dionisis,
> Many thnks Jose
>
> I'm glad to hear that solve it, I can not use this obj
> becuase the IsWin8() function. This function raise an
> undefine reference to XA_IsWin8 error. I use XAILER 3.2.
> So waiting for the new version.
Sorry for that. In fact, there are so many minor changes in Xailer.
Anyhow, here you are again this module, without that dependence:
https://www.dropbox.com/s/uesncpdjxibbaau/Xailer2.zip
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
Dionisis Divaris
Mensajes: 484
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Origin of Memory Leaks

Mensaje por Dionisis Divaris »

Jose
Many thanks work fine. Did you include this fix in the new release of xiler?
All the best
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Origin of Memory Leaks

Mensaje por jfgimenez »

Dionisis,
> Many thanks work fine.
Fantastic! Glad to "read" it.
> Did you include this fix in the new
> release of xiler?
Yes, of course.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder