aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule eats 1GB memory  (Read 3058 times)

dpcris85

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Well... dark brown hair & eyes, 1.74 m, < 80 kg. I love Math, Linux, Nutella (www.nutella.it), trains, Harry Potter's books, driving my friends crazy talking them about quantistic mechanic or hyperspaces.
    • http://dpcris85.homelinux.net
amule eats 1GB memory
« on: June 19, 2004, 02:31:05 PM »

After I launch amule, my used physical memory starts slowly to grow, until my 1024 MB ram is full. Then my kernel kills amule. The memory occupation doesn't decreases.
I have Fedora Core 2, kernel 2.6.5-1.358. I have installed amule from the tar.gz following exactly the howto. I don't think it's a kernel/distro problem, because I had the same problem with SuSE 9.0 Pro, kernel 2.4.21-215
Somebody knows any solution/hint about this problem? Thanks in advance.

P.s.: This is a system log that reports the killing (under SuSE)
Jun 12 13:25:31 dpcris85-suse kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Jun 12 13:25:31 dpcris85-suse kernel: VM: killing process kdeinit
Jun 12 13:40:28 dpcris85-suse kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Jun 12 13:40:28 dpcris85-suse kernel: VM: killing process amule
Jun 12 13:43:36 dpcris85-suse kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
Jun 12 13:43:36 dpcris85-suse kernel: VM: killing process kdeinit
« Last Edit: June 19, 2004, 10:00:16 PM by dpcris85 »
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule eats 1GB memory
« Reply #1 on: June 21, 2004, 04:01:30 PM »

Are you using gtk2 with aMule rc3? that could be the reason. aMule rc3 and earlier shouldn't be compield with gtk2, but with gtk1 isntead.
Greetings!
Logged

dpcris85

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Well... dark brown hair & eyes, 1.74 m, < 80 kg. I love Math, Linux, Nutella (www.nutella.it), trains, Harry Potter's books, driving my friends crazy talking them about quantistic mechanic or hyperspaces.
    • http://dpcris85.homelinux.net
Re: amule eats 1GB memory
« Reply #2 on: June 22, 2004, 09:17:16 AM »

No, I'm using gtk1. at the time of compiling, I wrote:
./configure --prefix=/usr --disable-gtk2 --with-gtk

Another thing: I enabled the "overcommit memory" option of my kernel, that should avoid kernel from killing programs that are using too much memory, but this night aMule has been killed. This is driving me crazy!
Logged

dpcris85

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Well... dark brown hair & eyes, 1.74 m, < 80 kg. I love Math, Linux, Nutella (www.nutella.it), trains, Harry Potter's books, driving my friends crazy talking them about quantistic mechanic or hyperspaces.
    • http://dpcris85.homelinux.net
Re: amule eats 1GB memory
« Reply #3 on: June 22, 2004, 11:56:16 PM »

After a lot of searching, I found that the growing of memory is a normal behaviour of the kernels > 2.4, because the new VM algorithm uses the ram to cache the hd. This also explain the faster growing after the launch of amule. But this doesn't explain why amule is killed without a reason... Now I'm trying to discover if amule does something "bad" just before the killing by tracing it with gdb. Unluckly, amule is strongly keeping up (14hrs & more)
Logged

dpcris85

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
  • Well... dark brown hair & eyes, 1.74 m, < 80 kg. I love Math, Linux, Nutella (www.nutella.it), trains, Harry Potter's books, driving my friends crazy talking them about quantistic mechanic or hyperspaces.
    • http://dpcris85.homelinux.net
Re: amule eats 1GB memory
« Reply #4 on: June 23, 2004, 10:55:32 PM »

I posted a backtrace in the related section. Maybe it contains some usefuls info (I can't understand it, I'm a bad programmer - I only understood that it's something about CryptoPP)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: amule eats 1GB memory
« Reply #5 on: June 29, 2004, 11:28:17 AM »

Well, it seems like it is crashing, not a kenel problem ;-)
So keep posting backtraces in the backtraces forum so the bugs disappear.
Greetings!
Logged