aMule Forum

English => aMule Help => Topic started by: saxtro on July 20, 2004, 06:15:41 PM

Title: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 20, 2004, 06:15:41 PM
why amule eat all free resourse? how i can reduce its hunger of ram?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: Jacobo221 on July 20, 2004, 06:38:54 PM
are you using wx 2.4.2 with gtk2 ?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 12:11:03 AM
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*
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: deltaHF on July 21, 2004, 12:20:23 AM
maybe u have verbose on.. or auto-priority
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 01:03:35 AM
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-?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: deltaHF on July 21, 2004, 01:15:11 AM
try to set all files to normal priority (don't use any auto-prio and look if its better)
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 01:25:51 AM
in a few seconds from 789Mb free at 6,7Mb free ;(
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: Xaignar on July 21, 2004, 01:31:24 AM
Try running the command "free" before and after you have started aMule. Paste the output here.
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 01:36:32 AM
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
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: deltaHF on July 21, 2004, 01:50:20 AM
does is also happen with 1.2.8 or 2.0rc5 too?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: Xaignar on July 21, 2004, 02:03:52 AM
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. =/
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: deltaHF on July 21, 2004, 02:08:33 AM
try:  ps u -C amule
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 02:12:37 AM
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?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: deltaHF on July 21, 2004, 02:14:57 AM
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 ?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 02:18:09 AM
ok deltaHF now the problem is:
why with amule all the memory is cached?
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: Kry on July 21, 2004, 02:21:02 AM
DO CHATTING ON IRC! :P
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 02:29:19 AM
Quote
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
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 02:44:30 AM
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:~$
Title: Re: aMule1.2.7 and Phisical memory (added version)
Post by: saxtro on July 21, 2004, 03:37:10 AM
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