Posted by: wfaulk
Java Handle Leaks - 26/10/2005 21:43
Azureus slows down my Windows machine. Way down. Other people seem to have similar complaints. I think I've found the cause. Despite limiting my peers to 150, there are 9740 open \Device\Afd\Endpoint handles. They seem to be handles for network connections. So it seems that either Azureus or Java itself is leaking handles. I thought I'd first ask our resident Java experts if they know of any such leak within Java before I go delving into Azureus code.
Anyone know anything?
Posted by: wfaulk
Re: Java Handle Leaks - 27/10/2005 14:54
Can you do me a favor and run
Process Explorer against it and see if the Java process has a whole load of handles? Maybe your OS install, for some reason, handles having that many open better than mine.
Posted by: andy
Re: Java Handle Leaks - 27/10/2005 16:24
It does indeed have over 40,000 of those handles open. Clearly a leak of some sort.
As I say I don't have any performance problems with Azureus. This is on WinXP Pro, 2GB of RAM and a P4 2.8Ghz (with HyperThreading enabled).
Azureus is running under Java jre1.5.0_04 on my machine.
Posted by: schofiel
Re: Java Handle Leaks - 27/10/2005 21:08
What I would suggest is a NETSTAT /A from a CMD command line to observe the state of any socket connects that might be open.