Page 1 of 4

Last FWH version. Memory leak.

Posted: Fri Feb 01, 2013 7:29 pm
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

Re: Last FWH version. Memory leak.

Posted: Fri Feb 01, 2013 7:43 pm
by Antonio Linares
Marco,

What FWH version were you using previously ? thanks

Re: Last FWH version. Memory leak.

Posted: Fri Feb 01, 2013 8:25 pm
by Marco Turco
FWH 10.11 , BCC 5.82 - xharbour 1.2.1 (rev 6715)

Re: Last FWH version. Memory leak.

Posted: Fri Feb 01, 2013 9:58 pm
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 ?

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 9:18 am
by Maurizio
Antonio ,
I have the same problem

Maurizio

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 11:22 am
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 ?

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 3:59 pm
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

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 5:06 pm
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

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 5:58 pm
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...

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 9:01 pm
by Antonio Linares
Marco,

Were you experiencing such effect with FWH 10.10 ? thanks

Re: Last FWH version. Memory leak.

Posted: Sat Feb 02, 2013 9:35 pm
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.

Re: Last FWH version. Memory leak.

Posted: Fri Feb 08, 2013 2:14 pm
by Randal
Has anyone found a cause and/or solution to this problem?

Thanks,
Randal Ferguson

Re: Last FWH version. Memory leak.

Posted: Fri Feb 08, 2013 2:48 pm
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.

Re: Last FWH version. Memory leak.

Posted: Sat Feb 09, 2013 9:29 am
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?

Re: Last FWH version. Memory leak.

Posted: Sat Feb 09, 2013 10:26 am
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.