aMule Forum

English => en_Bugs => Topic started by: mentus on March 12, 2004, 01:15:29 PM

Title: [FIXED] Memory and CPU leak, 1.2.4 and beyond?
Post by: mentus on March 12, 2004, 01:15:29 PM
After running aMule for some hours I've noticed it steadly increases CPU and memory use.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND          
    330 mentus    17   0  104m 102m 8104 R 37.7 47.0 229:01.45 amule    

      It starts up behaving nicely (consuming about 0.2% of cpu and 15/16Mbs of ram), but   after some time goes by it starts leaking CPU and memory usage IMHO. And no, it doesn't  stabilize on 104Mb, if I let it run for more days it'll use 200 300Mb of ram till all my memory is gone. Did anyone else notice this behaviour?

     I first noticed it on aMule 1.2.4, then I upgraded to 1.2.6 expecting it'd had been fixed but it wasn't. I've compiled 1.2.3 and will try it later.

 
running a Gentoo system here,
             Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-win4lin)
=================================================================
System uname: 2.4.25-win4lin i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"

wxGTK-2.4.1-r1 linked against gtk+-2.2.4-r1.
Title: Re: [FIXED] Memory and CPU leak, 1.2.4 and beyond?
Post by: deltaHF on March 12, 2004, 02:05:38 PM
hi,

use amule 1.2.6 and wxgtk linked against gtk1 .. the prob is not amule, the prob is gentoo and gtk2..

greets
Title: Re: [FIXED] Memory and CPU leak, 1.2.4 and beyond?
Post by: mentus on March 12, 2004, 03:51:51 PM
Right. I'll recompile it against gtk1 (don't really like gtk2 anyways) and see if it's gone. Thank you,
Title: Re: [FIXED] Memory and CPU leak, 1.2.4 and beyond?
Post by: mentus on March 12, 2004, 08:14:43 PM
That did it. It's consuming only 15Mb of ram and <10% of CPU. I'll file a bug report on Gentoo's bug tracking system.
Title: Re: [FIXED] Memory and CPU leak, 1.2.4 and beyond?
Post by: deltaHF on March 12, 2004, 08:20:08 PM
i guess gentoo guys knows the prob already ;)

but feel free to post them that

greets