PeterHarmes - Application slow down/Memory Leak

PeterHarmes - Application slow down/Memory Leak

Postby MGA » Fri May 13, 2011 8:20 pm

Hello PeterHarmes,

About:

viewtopic.php?f=3&t=21147&p=112415&hilit=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
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: PeterHarmes - Application slow down/Memory Leak

Postby PeterHarmes » Wed May 18, 2011 3: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
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: PeterHarmes - Application slow down/Memory Leak

Postby MGA » Wed May 18, 2011 5:01 pm

Peter,

thank you for responding
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: PeterHarmes - Application slow down/Memory Leak

Postby PeterHarmes » Fri May 20, 2011 1: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
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: PeterHarmes - Application slow down/Memory Leak

Postby MGA » Fri May 20, 2011 2:56 pm

Peter,


Thanks :D
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 100 guests