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
User avatar
Dionisis Divaris
Posts: 479
Joined: Thu Jul 12, 2007 8:48 pm
Location: Athens Greece

Origin of Memory Leaks

Postby Dionisis Divaris » Fri Aug 01, 2014 5:20 pm

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
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Origin of Memory Leaks

Postby jfgimenez » Sat Aug 02, 2014 12:03 pm

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
User avatar
Dionisis Divaris
Posts: 479
Joined: Thu Jul 12, 2007 8:48 pm
Location: Athens Greece

Origin of Memory Leaks

Postby Dionisis Divaris » Sat Aug 02, 2014 12:58 pm

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
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Origin of Memory Leaks

Postby jfgimenez » Sat Aug 02, 2014 9:20 pm

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
User avatar
Dionisis Divaris
Posts: 479
Joined: Thu Jul 12, 2007 8:48 pm
Location: Athens Greece

Origin of Memory Leaks

Postby Dionisis Divaris » Sun Aug 03, 2014 8:32 am

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
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Origin of Memory Leaks

Postby jfgimenez » Mon Aug 04, 2014 9:52 am

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
User avatar
Dionisis Divaris
Posts: 479
Joined: Thu Jul 12, 2007 8:48 pm
Location: Athens Greece

Origin of Memory Leaks

Postby Dionisis Divaris » Mon Aug 04, 2014 7:50 pm

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
User avatar
jfgimenez
Site Admin
Posts: 5620
Joined: Mon Apr 06, 2015 8:48 pm
Contact:

Origin of Memory Leaks

Postby jfgimenez » Tue Aug 05, 2014 9:14 am

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

Return to “English”