Jump to content

utorrent 1.8 stable memory leak?


ectweak

Recommended Posts

recently (past week or so) I've been having dome problems with utorrent that hadn't ever happened before. first was disk overload 100% which I fixed in the preferences.

after the past three days of me being out of town, I noticed that utorrent was unable to allocate system memory 16000(I think) bytes and after "closing" utorrent, I checked the task manager, only to find the following.

pxtyzy6d7iipw61etj9_utorrentoverload_thumb.png

not sure what the problem is, and I only had about 10 torrents seeding, and one downloading when I left...

Link to comment
Share on other sites

Process    PID    CPU    Description    Company Name
System Idle Process 0 96.83
Interrupts n/a Hardware Interrupts
DPCs n/a 0.35 Deferred Procedure Calls
System 4
smss.exe 1112 Windows NT Session Manager Microsoft Corporation
csrss.exe 1200 Client Server Runtime Process Microsoft Corporation
winlogon.exe 1224 Windows NT Logon Application Microsoft Corporation
services.exe 1272 0.35 Services and Controller app Microsoft Corporation
svchost.exe 1448 Generic Host Process for Win32 Services Microsoft Corporation
NMIndexStoreSvr.exe 2748 Nero Home Nero AG
wmiprvse.exe 4064 WMI Microsoft Corporation
svchost.exe 1496 Generic Host Process for Win32 Services Microsoft Corporation
svchost.exe 1848 Generic Host Process for Win32 Services Microsoft Corporation
wuauclt.exe 1944 Windows Update Automatic Updates Microsoft Corporation
HelpSvc.exe 2980 Microsoft Help Center Service Microsoft Corporation
svchost.exe 388 Generic Host Process for Win32 Services Microsoft Corporation
svchost.exe 580 Generic Host Process for Win32 Services Microsoft Corporation
aswUpdSv.exe 716 avast! Antivirus updating service ALWIL Software
ashServ.exe 880 avast! antivirus service ALWIL Software
spoolsv.exe 1640 Spooler SubSystem App Microsoft Corporation
AppleMobileDeviceService.exe 260 Apple Mobile Device Service Apple Inc.
GoogleUpdaterService.exe 328 gusvc Google
svchost.exe 364 Generic Host Process for Win32 Services Microsoft Corporation
svchost.exe 396 Generic Host Process for Win32 Services Microsoft Corporation
svchost.exe 432 Generic Host Process for Win32 Services Microsoft Corporation
PnkBstrA.exe 444
svchost.exe 508 Generic Host Process for Win32 Services Microsoft Corporation
MediaServer.exe 1244
ViewpointService.exe 472 ViewMgr Viewpoint Corporation
ashMaiSv.exe 2112 avast! e-Mail Scanner Service ALWIL Software
ashWebSv.exe 2152 avast! Web Scanner ALWIL Software
iPodService.exe 3096 iPodService Module Apple Inc.
alg.exe 3380 Application Layer Gateway Service Microsoft Corporation
NMIndexingService.exe 2508 Nero Home Nero AG
msiexec.exe 3596 Windows® installer Microsoft Corporation
FNPLicensingService.exe 3200 Activation Licensing Service Macrovision Europe Ltd.
lsass.exe 1284 LSA Shell (Export Version) Microsoft Corporation
explorer.exe 1992 Windows Explorer Microsoft Corporation
ashDisp.exe 596 avast! service GUI component ALWIL Software
iTunesHelper.exe 768 iTunesHelper Module Apple Inc.
ctfmon.exe 800 CTF Loader Microsoft Corporation
Bandwidth Monitor Pro.exe 1660 Displays and logs your network adapters bandwidth usage Pro²soft
GoogleUpdate.exe 2056 Google Installer Google Inc.
AnyDVDtray.exe 2072 AnyDVD Application SlySoft, Inc.
robotaskbaricon.exe 2104 RoboForm TaskBar Icon Siber Systems
NMBgMonitor.exe 2236 Nero Home Nero AG
youtubeuploader.exe 3012 YouTube Uploader YouTube, LLC
hldj_1456.exe 3756
Steam.exe 272 Steam Valve Corporation
uTorrent.exe 3576 1.76 µTorrent BitTorrent, Inc.
firefox.exe 2228 Firefox Mozilla Corporation
Photoshop.exe 3948 Adobe Photoshop CS3 Adobe Systems, Incorporated
procexp.exe 1616 0.70 Sysinternals Process Explorer Sysinternals - www.sysinternals.com
msiexec.exe 3748 Windows® installer Microsoft Corporation

Process: uTorrent.exe Pid: 3576

Name Description Company Name Version
ACTIVEDS.dll ADs Router Layer DLL Microsoft Corporation 5.01.2600.2180
adsldpc.dll ADs LDAP Provider C DLL Microsoft Corporation 5.01.2600.2180
ADVAPI32.dll Advanced Windows 32 Base API Microsoft Corporation 5.01.2600.2180
ADvdDiscHlp1.dll ADvdDisc Dynamic Link Library SlySoft, Inc. 2.00.0000.0001
appHelp.dll Application Compatibility Client Library Microsoft Corporation 5.01.2600.2180
ATL.DLL ATL Module for Windows XP (Unicode) Microsoft Corporation 3.05.2284.0000
browseui.dll Shell Browser UI Library Microsoft Corporation 6.00.2900.3157
CFGMGR32.dll Configuration Manager Forwarder DLL Microsoft Corporation 5.01.2600.2180
CLBCATQ.DLL Microsoft Corporation 2001.12.4414.0312
COMCTL32.dll User Experience Controls Library Microsoft Corporation 6.00.2900.2982
comdlg32.dll Common Dialogs DLL Microsoft Corporation 6.00.2900.2180
COMRes.dll Microsoft Corporation 2001.12.4414.0258
credui.dll Credential Manager User Interface Microsoft Corporation 5.01.2600.2180
CRYPT32.dll Crypto API32 Microsoft Corporation 5.131.2600.2180
CRYPTUI.dll Microsoft Trust UI Provider Microsoft Corporation 5.131.2600.2180
CSCDLL.dll Offline Network Agent Microsoft Corporation 5.01.2600.2180
cscui.dll Client Side Caching UI Microsoft Corporation 5.01.2600.2180
ctype.nls
davclnt.dll Web DAV Client DLL Microsoft Corporation 5.01.2600.2180
DNSAPI.dll DNS Client API DLL Microsoft Corporation 5.01.2600.2938
drprov.dll Microsoft Terminal Server Network Provider Microsoft Corporation 5.01.2600.2180
fsshext.8.5.1302.1018.dll Messenger File Sharing Shell Extensions Microsoft Corporation 8.05.1302.1018
GDI32.dll GDI Client DLL Microsoft Corporation 5.01.2600.3159
gdiplus.dll Microsoft GDI+ Microsoft Corporation 5.01.3102.2180
hnetcfg.dll Home Networking Configuration Manager Microsoft Corporation 5.01.2600.2180
IMAGEHLP.dll Windows NT Image Helper Microsoft Corporation 5.01.2600.2180
IMM32.DLL Windows XP IMM32 API Client DLL Microsoft Corporation 5.01.2600.2180
index.dat
index.dat
index.dat
Iphlpapi.dll IP Helper API Microsoft Corporation 5.01.2600.2912
kernel32.dll Windows NT BASE API Client DLL Microsoft Corporation 5.01.2600.3119
LINKINFO.dll Windows Volume Tracking Microsoft Corporation 5.01.2600.2839
locale.nls
LPK.DLL Language Pack Microsoft Corporation 5.01.2600.2180
mdnsNSP.dll Bonjour Namespace Provider Apple Inc. 1.00.0004.0012
MPR.dll Multiple Provider Router DLL Microsoft Corporation 5.01.2600.2180
MPRAPI.dll Windows NT MP Router Administration DLL Microsoft Corporation 5.01.2600.2180
MSASN1.dll ASN.1 Runtime APIs Microsoft Corporation 5.01.2600.2180
MSCTF.dll MSCTF Server DLL Microsoft Corporation 5.01.2600.2809
msctfime.ime Microsoft Text Frame Work Service IME Microsoft Corporation 5.01.2600.2180
MSGINA.dll Windows NT Logon GINA DLL Microsoft Corporation 5.01.2600.2180
mslbui.dll LangageBar Add In Microsoft Corporation 5.01.2600.2180
MSVCR80.dll Microsoft® C Runtime Library Microsoft Corporation 8.00.50727.1433
msvcrt.dll Windows NT CRT DLL Microsoft Corporation 7.00.2600.2180
mswsock.dll Microsoft Windows Sockets 2.0 Service Provider Microsoft Corporation 5.01.2600.2180
NETAPI32.dll Net Win32 API DLL Microsoft Corporation 5.01.2600.2976
NETRAP.dll Net Remote Admin Protocol DLL Microsoft Corporation 5.01.2600.2180
NETSHELL.dll Network Connections Shell Microsoft Corporation 5.01.2600.2979
NETUI0.dll NT LM UI Common Code - GUI Classes Microsoft Corporation 5.01.2600.2180
NETUI1.dll NT LM UI Common Code - Networking classes Microsoft Corporation 5.01.2600.2180
ntdll.dll NT Layer DLL Microsoft Corporation 5.01.2600.2180
ntlanman.dll Microsoft® Lan Manager Microsoft Corporation 5.01.2600.2686
ntshrui.dll Shell extensions for sharing Microsoft Corporation 5.01.2600.2180
ODBC32.dll Microsoft Data Access - ODBC Driver Manager Microsoft Corporation 3.525.1117.0000
odbcint.dll Microsoft Data Access - ODBC Resources Microsoft Corporation 3.525.1117.0000
ole32.dll Microsoft OLE for Windows Microsoft Corporation 5.01.2600.2948
oleaut32.dll Microsoft Corporation 5.01.2600.3139
PortableDeviceApi.dll Windows Portable Device API Components Microsoft Corporation 5.02.5721.5145
psapi.dll Process Status Helper Microsoft Corporation 5.01.2600.2180
rasadhlp.dll Remote Access AutoDial Helper Microsoft Corporation 5.01.2600.2938
RPCRT4.dll Remote Procedure Call Runtime Microsoft Corporation 5.01.2600.2863
rtutils.dll Routing Utilities Microsoft Corporation 5.01.2600.2180
SAMLIB.dll SAM Library DLL Microsoft Corporation 5.01.2600.2180
Secur32.dll Security Support Provider Interface Microsoft Corporation 5.01.2600.2180
SETUPAPI.dll Windows Setup API Microsoft Corporation 5.01.2600.2938
shdocvw.dll Shell Doc Object and Control Library Microsoft Corporation 6.00.2900.3157
SHELL32.dll Windows Shell Common Dll Microsoft Corporation 6.00.2900.3051
shfolder.dll Shell Folder Service Microsoft Corporation 6.00.2900.2180
SHLWAPI.dll Shell Light-weight Utility Library Microsoft Corporation 6.00.2900.3157
sortkey.nls
sorttbls.nls
sti.dll Still Image Devices client DLL Microsoft Corporation 5.01.2600.2180
unicode.nls
USER32.dll Windows XP USER API Client DLL Microsoft Corporation 5.01.2600.3099
USERENV.dll Userenv Microsoft Corporation 5.01.2600.2180
USP10.dll Uniscribe Unicode script processor Microsoft Corporation 1.420.2600.2180
uTorrent.exe µTorrent BitTorrent, Inc. 1.08.0000.11813
uxtheme.dll Microsoft UxTheme Library Microsoft Corporation 6.00.2900.2845
VERSION.dll Version Checking and File Installation Libraries Microsoft Corporation 5.01.2600.2180
WININET.dll Internet Extensions for Win32 Microsoft Corporation 6.00.2900.3164
winrnr.dll LDAP RnR Provider DLL Microsoft Corporation 5.01.2600.2180
WINSTA.dll Winstation Library Microsoft Corporation 5.01.2600.2180
WINTRUST.dll Microsoft Trust Verification APIs Microsoft Corporation 5.131.2600.2180
WLDAP32.dll Win32 LDAP API DLL Microsoft Corporation 5.01.2600.2180
WS2_32.dll Windows Socket 2.0 32-Bit DLL Microsoft Corporation 5.01.2600.2180
WS2HELP.dll Windows Socket 2.0 Helper for Windows NT Microsoft Corporation 5.01.2600.2180
wshtcpip.dll Windows Sockets Helper DLL Microsoft Corporation 5.01.2600.2180
xpsp2res.dll Service Pack 2 Messages Microsoft Corporation 5.01.2600.2180

Link to comment
Share on other sites

hm... that's unusual as they've ran fine together in the past... it was just a sudden change after the Diskoverload 100% incident that it happened

I'm testing it now though...

*UPDATE*

hm... seems that I'm still having the Disk overloaded 100% problem

tried closing utorrent and windows froze on me again...

Link to comment
Share on other sites

Disk Overload? That means your drive(s) are crapping out on you, or something is keeping them from writing as fast as uTorrent expects. You can check current drive throughput in Process Explorer or using the Speed tab and changing to "Disk Statistics" mode and multiplying # of writes/hashes/reads by SIZE (2 MiB pieces * 10 a sec = 20 MiBps throughput.. a pittance)

Explain more about the situation surrounding this FIRST disk overloaded incident.

Link to comment
Share on other sites

the first incident I was seeding a few files and attempting to download two. after a few minutes, utorrent hit Disk overload, and windows froze. it appears that this occurs when downloading over a certain speed (as I seeded one torrent all last night with no problems) seeding from this drive (as I am assuming that it's the drive that is causing the problem) seems fine, but downloading over a certain speed causes utorrent to disk overload.

also, I tried to defragment this drive in safemode and it said "cannot defragment this type of drive"

*Update*

while attempting to download the file from before, and seeding one file, it reached disk overload 100% after downloading 93.1% at around 1.2MB/s

it seems the write cache is at 38.9MB of 32.0MB

is there a way to flush the cache without restarting the PC?

cache has raised to 47.0MB of 32.0 MB

Link to comment
Share on other sites

Cannot defragment?! Is it a special type of disk?

I do know that many people are able to lessen/eliminate "Disk Overloaded...0-100%" by increasing the cache to uTorrent under Ctrl-P > Advanced > Disk Cache ... OOOH?!? you didn't do this already did you.. I know some people put it as high as a gig. ><

Can you check the buses in your Device Manager to see if they're performing in PIO mode... here's the link in the FAQ about it http://utorrent.com/faq.php#What_does_Disk_Overload_in_the_status_bar_mean.3F

Link to comment
Share on other sites

I didn't override the automatic cache size yet...

I just raised it to 500MB and the disk overload went byebye...

*edit*

it seems that turning off "write out finished pieces immediately causes the pieces to just sit there... and not be written to disk after 15 secs...

also, when attempting to obtain the volume info through the properties screen, it comes up with "Volume information for this disk can't be found. This may happen if the disk is a 1394 or a USB device on a windows 2000 machine"

this isn't the case as it's a SATA on XPsp2

Link to comment
Share on other sites

odd, odd... but it means more troubleshooting first for the RAM leak as well as the disk bottleneck. Since it doesn't appear to be something IN uTorrent, it's something conflicting with uTorrent. Usual suspects include AV/security software which in your case is Avast...

So I'd recommend stopping one component at a time to see if you see the problems go away.

Link to comment
Share on other sites

I am having the same problem. I catched µTorrent eating 1GB+ RAM of my system. Closed and reopened it and it is (for 5 minutes about running) 13MB big in memory. It is slowly growing and no sign of 'freeing things up'. While I wrote this message it turned into 14Mb and is slowly growing and growing.

I suppose another running program can't just make µTorrent grow undefinedly. And if it was due to something loading (some package or some torrent I am sharing), it should just blow up at 1G at once, or at least grow faster. It looks like some garbage was not cleared e.g. the data I am sending to others is being cached for future sends but never freed afterwards.

I wonder if other people leave µTorrent open for so long to notice that grow...

Link to comment
Share on other sites

what u mean with 'logfiles?'? Well, my µTorrent has been upgraded over some versions until the 1.8. (I checked yesterday it was the latest build).

I have the 'disk cache' size override mechanism disabled (options,advanced,disk cache). This is the default to me as I never changed it. I will try using the other option, limited cache size (at 128Mb) to see if anything changes...

Link to comment
Share on other sites

Well, ectweak had the problem and was asked for the logfiles. I understand you found the thread because you had a similar problem, however not reading the thread seeing what was asked of the person before you... is kinda silly.

I don't think there is generally a problem with the uT Cache when uTorrent RAM starts bleeding.

Link to comment
Share on other sites

well, for some reason it is not free()ing memory it is allocating to itself, and a cache could be something that is to be maintaned in memory but just what is necessary. Squid proxy server does not-so-similar caching but has by the nature of caching, to load recent things into the memory and remove by some complex (and fast) algorythm older (depending on policy) items. So this complexer piece makes it easier to things be 'left unresolved' by accident, turning into snowballs.

Yes it is a lot guessing, but definately there's a memory leak on the process. I am thinking on downgrading to the latest 1.7 version, or keeping it shutdown when not downloading anything until the 1.8 version gets more mature.

By the way forcing the cache to 128Mb did not solve the problem (did not limit the cache below 160Mb or something smaller), of course I can't say exactly which part of the code is not freeing memory and/or why is it filling up undefinately. All I can do is try to guess until someone around has a pinpoint idea.

Link to comment
Share on other sites

Do you use the NVIDIA firewall? The NV firewall has a nasty bug which causes this memory leak in any process it hooks into. For a time, Outpost used to do it too.

There is no such memory leak in utorrent. Such issues only crop up when some lame DLL hooks into the process and leaks memory. Because it's hooked into ut's process, it makes it look like ut itself is eating the RAM.

Link to comment
Share on other sites

Hi.

I am running utorrent 1.8 build 11813 on two different machines:

machine 1:

core2quad 6600

8gb mushkin redline 1000mhz

asus ramapage formula

vista x64 ultimate

and machine 2:

core2quad 6600

8gb mushkin xp2 800mhz

asus p5e workstation pro

vista x64 ultimate

i noticed memory leaks first on machine 2, when utorrent loaded with ~150 torrents was eating up to 6.8gbs of RAM. i thought it was because of the large number of torrents loaded.

machine 2 is a vista install, as of last night. no programs whatsoever installed except nod32. i loaded ~20 torrents in utorrent and left it overnight, in the morning i noticed it was running really slow so i checked my RAM and i had only 250mbs free of 8gbs.

i don't think this is a software related issue, since it's happening the same on 2 completely different machines

thank you for your time

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...