Resource leak
Started by Marsup


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


38 posts in this topic
Marsup
Junior Member
**


0
29 posts 3 threads Joined: Mar 2004
03-30-2004, 08:58 AM -
#16
400 Handles, 500 GDI Handles and 330 USER Handles

the PC was rebooted (by force :p) 10h ago, it was approx > 1000 GDI handles before
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
03-30-2004, 09:42 AM -
#17
Marsup
Currently I have 1400 GDI objects. This is not a rource leaks. How many shortcuts on your TLB? Maybe you can move the seldom used shortcuts into virtual folder. Virtual Folder loads its content only on first open and this will save resources.
On the other hands if this number constantly raise then yes this is resource leaks.

Some time ago I've found GDI objects leaks in one of beta of Eudora (now it is fixed). This application have added some items into context menu and every time I've opened context menu there were big GDI leaks.

Try to open context menu some times with and without shell menu and see how GDI objects raise.
The TORDEX Team
http://www.tordex.com
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-30-2004, 09:49 AM -
#18
Okay. I have some interesting info regarding this.

I ran a test with different plugins. The culprit seems to be the Mail Monitor.

Each time I open and close the Mail Monitor window, the following occurs -
Closed Mail Monitor window
USER - 166
GDI - 592
Opened Mail Monitor window
USER - 187
GDI - 631

Closed Mail Monitor window
USER - 168
GDI - 603
Opened Mail Monitor window
USER - 189
GDI - 642

Closed Mail Monitor window
USER - 170
GDI - 614
Opened Mail Monitor window
USER - 191
GDI - 653

Closed Mail Monitor window
USER - 172
GDI - 625
Opened Mail Monitor window
USER - 193
GDI - 664

Closed Mail Monitor window
USER - 174
GDI - 636
Opened Mail Monitor window
USER - 196
GDI - 677

As you can see, opening and closing the Mail Monitor window increases the USER and GDI handles. So there appears to be a problem with this plugin. ???
Q Section
Weapons Я Us
*****


0
899 posts 100 threads Joined: Feb 2003
03-30-2004, 09:54 AM -
#19
Marsup - we are sure probably everyone here knows more about system leaks than us but the percent asked for is found on the opening page of Process Explorer in the cpu column (in the example ours is at 3%) and looks like this -
HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
Marsup
Junior Member
**


0
29 posts 3 threads Joined: Mar 2004
03-30-2004, 09:54 AM -
#20
You've got it Yuri, I started at 540 and after a little bit of right clicking I'm over 600, how can I fix this?

EDIT: QSection I thought you were talking about system resources, CPU is hardly over 1%
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-30-2004, 10:16 AM -
#21
Marsup,

Do you open the Mail Monitor window frequently to check your emails?

Each time it is opened and closed, 11 GDI's and 2 USER handles are added. ???

Try it with yours and see if this happens. Wink
Marsup
Junior Member
**


0
29 posts 3 threads Joined: Mar 2004
03-30-2004, 10:22 AM -
#22
I've just uninstalled all software I could that appeared in right click, and that leak seems to be gone

Concerning mail monitor I've done several tests and yes there is
just for the exemple:
USER GDI
497 783
Launching mail monitor
521 824
Closing it
501 794

EDIT: right clicking on TLB components (even shortcuts) increase USER objects constantly: 9 more objects on right click, 1 less on close
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-30-2004, 11:35 AM -
#23
bbfi Wrote:Each time it is opened and closed, 11 GDI's and 2 USER handles are added. ???
Confirmed here.

Well spotted, bbfi!
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-30-2004, 12:03 PM -
#24
Thanks HorusUK. I never noticed it before since I haven't had any major crashes lately. Smile

Last time I did any research into this type of problem was when I had my system crashes after 4 to 6 hours of running with Avast antivirus. That took me and those at the Avast forum, along with Alwil's developers, a month to figure out. One of the Avast driver files had a resource leak in it and it was really hard to track down. So from that episode, I guess I got some good training for these types of problems. Wink
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
03-30-2004, 12:04 PM -
#25
Confirmed too. Mail Monitor both GDI and USER objects leaks. TLB itself have USER objects leaks.

Thank you very much for spotting!
The TORDEX Team
http://www.tordex.com
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-30-2004, 12:06 PM -
#26
Yuri,

Thank you for always checking the forums and reading about any problems and ideas we may have. You are always there for us. Big Grin
Marsup
Junior Member
**


0
29 posts 3 threads Joined: Mar 2004
03-30-2004, 12:12 PM -
#27
It was a pleasure to help you Yuri Smile at least we spotted some leaks and I personnaly spotted mines Big Grin
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
03-30-2004, 02:27 PM -
#28
Use LiveUpdate to fix resource leaks. See this topic for more information. If you will find more resource leaks or bugs let me know.
The TORDEX Team
http://www.tordex.com
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
03-30-2004, 03:43 PM -
#29
Yuri,

Tried the Mail Monitor 1.9.9 and the fix for resource leaks is perfect. Big Grin

Thanks a lot. Wink
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
03-30-2004, 04:03 PM -
#30
I can confirm the fix for the resource leak, but I'm still getting problems with messages "not loading", as discussed here. Sad
Back once again...


Forum Jump:


Users browsing this thread: 1 Guest(s)