Last FWH version. Memory leak.

Last FWH version. Memory leak.

Postby Marco Turco » Fri Feb 01, 2013 7:29 pm

Hi all,
I have strange problems in my app with last FWH12.12 version,
after some hours of work my app icons disappear when I go over them with the mouse, see image1.I think this could be due to a memory leak, see image 2.

Any ideas ? Thanks in advance.
Image
Image
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: Last FWH version. Memory leak.

Postby Antonio Linares » Fri Feb 01, 2013 7:43 pm

Marco,

What FWH version were you using previously ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Last FWH version. Memory leak.

Postby Marco Turco » Fri Feb 01, 2013 8:25 pm

FWH 10.11 , BCC 5.82 - xharbour 1.2.1 (rev 6715)
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: Last FWH version. Memory leak.

Postby Antonio Linares » Fri Feb 01, 2013 9:58 pm

Marco,

Did you do some source code modifications in your app to build with 12.12 ?

Are you using modified FWH classes ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Last FWH version. Memory leak.

Postby Maurizio » Sat Feb 02, 2013 9:18 am

Antonio ,
I have the same problem

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: Last FWH version. Memory leak.

Postby Antonio Linares » Sat Feb 02, 2013 11:22 am

Maurizio,

Yes, we are aware of such problem, thats why we need to identify a FWH version where there is no such problem so we can compare them and get an idea about what may be the reason. I don't think it is a memory leak but something else.

Have you both check the GDI handles consume to see if they increase ?

Maurizio, could you check what FWH version were you using before and if such problem existed ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Last FWH version. Memory leak.

Postby Maurizio » Sat Feb 02, 2013 3:59 pm

Antonio,

I update FWH almost every month so therefore it is dificult to find where the problem first originated.
I also don't think it is a memory leak problem because it sometimes happens when you open the program (that is straight away).
I had made many tests but I can't seem to reproduce an example that highlights the problem. I now don't know what else to do. I now it is difficult but we have to find a solution.

Regard,
Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Re: Last FWH version. Memory leak.

Postby Antonio Linares » Sat Feb 02, 2013 5:06 pm

Maurizio,

If Marco had his app working fine with FWH 10.10 that would be a good starting point.

Could someone else report a FWH more recent version where this error does not happen ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Last FWH version. Memory leak.

Postby Bayron » Sat Feb 02, 2013 5:58 pm

Hi Antonio,
I have experienced a very similar problem that I could not solve:

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24329

The only way I found to avoid it, it was to stay with xHarbour 1.2.1 Rev 9388... If I compile with newer versions, I loose resources...

The very new version, loose less resources, but it happens... some versions after the one I use, loose a lot of resources...

The same happens with Harbour...

I think is not a problem of FWH, because it happens in FWH12.04 as well as my old version FWH10.02, and the only thing I change is the (x)Harbour compiler...
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Last FWH version. Memory leak.

Postby Antonio Linares » Sat Feb 02, 2013 9:01 pm

Marco,

Were you experiencing such effect with FWH 10.10 ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Last FWH version. Memory leak.

Postby Marco Turco » Sat Feb 02, 2013 9:35 pm

Hi Antonio,
my previous FWH version I used was 10.11 and my apps run well with this version, without this problem.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: Last FWH version. Memory leak.

Postby Randal » Fri Feb 08, 2013 2:14 pm

Has anyone found a cause and/or solution to this problem?

Thanks,
Randal Ferguson
Randal
 
Posts: 260
Joined: Mon Oct 24, 2005 8:04 pm

Re: Last FWH version. Memory leak.

Postby IBTC » Fri Feb 08, 2013 2:48 pm

I had also problem with memory leaks. For me they disappeared after I disabled

Code: Select all  Expand view
::oGet:SetFont( ::oFont )


at METHOD Initiate of CLASS TComboBox. In older version of FWH this line wasn't there.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: Last FWH version. Memory leak.

Postby fgondi » Sat Feb 09, 2013 9:29 am

It can happen only on Windows 7?

Happens to me something like: [url] viewtopic.php?f=3&t=25592 # p139634 [/ url]

We all use xHarbour?
Un saludo
Fernando González Diez
ALSIS Sistemas Informáticos
User avatar
fgondi
 
Posts: 694
Joined: Fri Oct 07, 2005 6:58 am
Location: Palencia, España

Re: Last FWH version. Memory leak.

Postby IBTC » Sat Feb 09, 2013 10:26 am

fgondi wrote:It can happen only on Windows 7?


My customers reported it also on Windows XP.

fgondi wrote:We all use xHarbour?


We use Harbour.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 88 guests

cron