Last FWH version. Memory leak.

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

Last FWH version. Memory leak.

Post by Marco Turco »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Last FWH version. Memory leak.

Post by Antonio Linares »

Marco,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Last FWH version. Memory leak.

Post by Marco Turco »

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

Marco Turco
SOFTWARE XP LLP
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Last FWH version. Memory leak.

Post by Antonio Linares »

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
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Last FWH version. Memory leak.

Post by Maurizio »

Antonio ,
I have the same problem

Maurizio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Last FWH version. Memory leak.

Post by Antonio Linares »

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
Maurizio
Posts: 705
Joined: Mon Oct 10, 2005 1:29 pm
Contact:

Re: Last FWH version. Memory leak.

Post by Maurizio »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Last FWH version. Memory leak.

Post by Antonio Linares »

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
Bayron
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Last FWH version. Memory leak.

Post by Bayron »

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

http://forums.fivetechsupport.com/viewt ... =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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Last FWH version. Memory leak.

Post by Antonio Linares »

Marco,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Last FWH version. Memory leak.

Post by Marco Turco »

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
Randal
Posts: 250
Joined: Mon Oct 24, 2005 8:04 pm

Re: Last FWH version. Memory leak.

Post by Randal »

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

Thanks,
Randal Ferguson
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Last FWH version. Memory leak.

Post by IBTC »

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

Code: Select all

::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
fgondi
Posts: 636
Joined: Fri Oct 07, 2005 6:58 am
Location: Palencia, España
Contact:

Re: Last FWH version. Memory leak.

Post by fgondi »

It can happen only on Windows 7?

Happens to me something like: [url] http://forums.fivetechsupport.com/viewt ... =3&t=25592 # p139634 [/ url]

We all use xHarbour?
Un saludo
Fernando González Diez
ALSIS GHE Sistemas Informáticos
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Last FWH version. Memory leak.

Post by IBTC »

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
Post Reply