aMule Forum
English => aMule Help => Topic started by: saxtro on July 20, 2004, 06:15:41 PM
-
why amule eat all free resourse? how i can reduce its hunger of ram?
-
are you using wx 2.4.2 with gtk2 ?
-
sure, i'm running aMule on slackware and i've compiled all packets how the how to tell
edit:
marco@Tron:~$ ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root 16 2004-07-08 19:20 /usr/bin/wx-config -> wxgtk-2.4-config*
lrwxrwxrwx 1 root root 26 2004-07-08 19:08 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
-rwxr-xr-x 1 root bin 7396 2003-02-12 01:41 /usr/bin/wxcopy*
-rwxr-xr-x 1 root root 5052 2004-07-08 19:20 /usr/bin/wxgtk-2.4-config*
-rwxr-xr-x 1 root bin 5832 2003-02-12 01:41 /usr/bin/wxpaste*
marco@Tron:~$ ls -l /usr/local/bin/wx*
lrwxrwxrwx 1 root root 3 2004-07-09 08:56 /usr/local/bin/wxvlc -> vlc*
-
maybe u have verbose on.. or auto-priority
-
menĂ¹ Preference default setting
- Tweaks
verbose is off
-Files
Add files to download with auto priority is on
must i put off -add files to download with autopriority-?
-
try to set all files to normal priority (don't use any auto-prio and look if its better)
-
in a few seconds from 789Mb free at 6,7Mb free ;(
-
Try running the command "free" before and after you have started aMule. Paste the output here.
-
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 140032 764448 0 7444 78096
-/+ buffers/cache: 54492 849988
Swap: 0 0 0
marco@Tron:~$ amule
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 896532 7948 0 9504 685976
-/+ buffers/cache: 201052 703428
Swap: 0 0 0
-
does is also happen with 1.2.8 or 2.0rc5 too?
-
The largest part of the memory usage you is the kernel caching as much as it can, creating the effect that all memory has been used. Notice that the free value on the "-/+ buffers/cache" row changes from "849988" to "703428". That's still quite a lot though, around 150mb. =/
-
try: ps u -C amule
-
amule 1.2.8
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 140040 764440 0 7440 78096
-/+ buffers/cache: 54504 849976
Swap: 0 0 0
marco@Tron:~$ amule
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 895420 9060 0 10216 683912
-/+ buffers/cache: 201292 703188
Swap: 0 0 0
marco@Tron:~$ ps u -C amule
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
marco 1680 6.3 1.8 27016 16476 pts/1 R+ 02:12 0:10 amule
marco 1681 0.0 1.8 27016 16476 pts/1 S+ 02:12 0:00 amule
marco 1682 5.1 1.8 27016 16476 pts/1 S+ 02:12 0:08 amule
@Xaignar: why only with aMule?
-
marco@Tron:~$ ps u -C amule
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
marco 1680 6.3 1.8 27016 16476 pts/1 R+ 02:12 0:10 amule
so ?
-
ok deltaHF now the problem is:
why with amule all the memory is cached?
-
DO CHATTING ON IRC! :P
-
Originally posted by Kry
DO CHATTING ON IRC! :P
sometime with xchat,
after two hours amule is working i cant open vlc ,error of bad allocation,
if i kill amule vlc work fine ,
my default ram is 512Mb now i'm using two blocks and vlc work as preview binary and to see others video, but the second block is not mine and with only a block i cant use amule and vlc togheter, i dont think 512Mb of ram are not many
-
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 140152 764328 0 7448 78240
-/+ buffers/cache: 54464 850016
Swap: 0 0 0
marco@Tron:~$ xmms
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 199928 704552 0 8552 113296
-/+ buffers/cache: 78080 826400
Swap: 0 0 0
marco@Tron:~$ vlc
marco@Tron:~/.wine/drive_c/Program Files/Dark Age of Camelot$ free
total used free shared buffers cached
Mem: 904480 285676 618804 0 12680 173408
-/+ buffers/cache: 99588 804892
Swap: 0 0 0
marco@Tron:~/.wine/drive_c/Program Files/Dark Age of Camelot$ wine login.dll
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 471088 433392 0 15728 320744
-/+ buffers/cache: 134616 769864
Swap: 0 0 0
marco@Tron:~$ amule
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 898652 5828 0 15324 651060
-/+ buffers/cache: 232268 672212
Swap: 0 0 0
marco@Tron:~$
-
fixed recompiling without --enable-optimize.....
marco@Tron:~$ free
total used free shared buffers cached
Mem: 904480 139988 764492 0 7432 78100
-/+ buffers/cache: 54456 850024
Swap: 0 0 0
marco@Tron:~$ amule
total used free shared buffers cached
Mem: 904480 212012 692468 0 9672 120468
-/+ buffers/cache: 81872 822608
Swap: 0 0 0