FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour PeterHarmes - Application slow down/Memory Leak
Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
PeterHarmes - Application slow down/Memory Leak
Posted: Fri May 13, 2011 08:20 PM

Hello PeterHarmes,

About:

viewtopic.php?f=3t=21147p=112415hilit=memoryflush#p112415

In their tests in a real environment, you have succeeded in using the function: memoryflush?

Thanks

&&&

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles“C
TDolphin
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: PeterHarmes - Application slow down/Memory Leak
Posted: Wed May 18, 2011 03:47 PM

Hi,

I inserted the memory flush into my code and weirdly it seemed to make things worse, so I put the call into a less used routine and it did seem to help.

However, the main change i made was with SQLRDD - I modified my code to use Sr_SetFilter instead of SET FILTER in a certain routine and that speeded up my system and kept it running at a reasonable speed - the memory flush released memory and didnt seem to effect the performance. Before, my customers said that when my app reached 50M and above, they noticed the difference and a drop in performance.

I am going to my customers next week so I can see the performance and compare it to before. (They are in Holland and I'm based in England)

Hope that helps

Pete

Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: PeterHarmes - Application slow down/Memory Leak
Posted: Wed May 18, 2011 05:01 PM

Peter,

thank you for responding

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles“C
TDolphin
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Re: PeterHarmes - Application slow down/Memory Leak
Posted: Fri May 20, 2011 01:18 PM

Hi,

I see in your post that you use SQLRDD - just noticed this on the xHarbour site:

! Fixed some memory leaks that can cause apps slow and huge memory consume

sounds like an important bug fix!!

Regards,

Pete

Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: PeterHarmes - Application slow down/Memory Leak
Posted: Fri May 20, 2011 02:56 PM

Peter,

Thanks :D

ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles“C
TDolphin

Continue the discussion