Search found 304 matches: leak

Return to advanced search

Re: Resource leak in menus

I have the same problem also. I have checked the GDI count from the task manager and I realised that when the GDI reaches to 10000, my exe hangs and stop working but the computer does not stop. I have test with GDIView and I have seen that only the Font is increasing. Check for unreleased fonts in ...
by Antonio Linares
Tue Aug 01, 2017 4:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

I have the same problem also. I have checked the GDI count from the task manager and I realised that
when the GDI reaches to 10000, my exe hangs and stop working but the computer does not stop.
I have test with GDIView and I have seen that only the Font is increasing.
by betoncu
Mon Jul 31, 2017 5:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

In my tests it seems as hDCs are increasing

Please click on the refresh button in gdiview.exe
by Antonio Linares
Mon Jul 31, 2017 9:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

Please download:
http://www.nirsoft.net/utils/gdiview-x64.zip

from here:
http://www.nirsoft.net/utils/gdi_handles.html

I appreciate if some of you can test and confirm the increased GDI types
by Antonio Linares
Mon Jul 31, 2017 9:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

James,

thanks for the explanation, now I found it!
by gkuhnert
Tue Jul 25, 2017 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

Gilbert,

You can just use the Windows Task Manager to view the current GDI information. Note that you will have to add that column to the view.

Select the Details tab on the Task Manager, then right-click on any column heading, then click on Select Columns and then GDI.

James
by James Bott
Mon Jul 24, 2017 10:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

James, Antonio,

how does the GDI count work? Ist it part of spy++ (spyxx.exe)?
by gkuhnert
Mon Jul 24, 2017 8:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

This problem also occurs in MDICHILD windows and Dialogs NON MODAL. Perhaps the problem is in NON MODAL procedures.
by Giovany Vecchi
Mon Jul 24, 2017 12:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

James,

Many thanks for your feedback

We are reviewing it
by Antonio Linares
Sun Jul 23, 2017 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

I tried testmnu3.prg with FWH 16.02/xHarbour and the GDI started at 25, then after multiple menu selections it ended up at 36 and I couldn't get it to go any higher. I also repeated the test with the same results. I also switched between the Task Manager and testmnu3 a number of times (with one over...
by James Bott
Sun Jul 23, 2017 7:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

We should try it with previous FWH versions to find when this bug has been introduced
by Antonio Linares
Sun Jul 23, 2017 6:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

I confirm the problem.

EMG
by Enrico Maria Giordano
Sat Jul 22, 2017 3:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

Lets use Spy++ to check what are those GDIs and where are they coming from
by Antonio Linares
Sat Jul 22, 2017 7:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

A timer issue ?
by Antonio Linares
Sat Jul 22, 2017 7:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594

Re: Resource leak in menus

Randal, please test this sample and look Task Manager memory // PullDown Menu sample#include "FIVEWIN.CH"static oWnd//------------------------------------------------------------//FUNCTION Main()//   SetResDebug( .T. )   DEFINE WINDOW oWnd                                       ;  ...
by Randal
Sat Jul 22, 2017 12:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resource leak in menus
Replies: 27
Views: 5594
PreviousNext

Return to advanced search