Re: Aptitude Version: 0.4.11.2-1 eat my memory after update...
On Thu, Jun 05, 2008 at 06:03:17PM +0200, Jean-Louis Crouzet <jeanlouis.crouzet@free.fr> was heard to say:
> Thanks for your answer. I was you know hunting for free memory since my
> system is only having 128MB which tend to be not enough those days (even
> with Linux).
Yes, that's sadly not much RAM nowadays.
Just to put some numbers to what I was saying, here's what "free"
shows on my computer before and after "aptitude update":
daniel@alpaca:~/programming/aptitude/head$ free -t
total used free shared buffers cached
Mem: 1026568 871072 155496 0 55812 461196
-/+ buffers/cache: 354064 672504
Swap: 3012148 49404 2962744
Total: 4038716 920476 3118240
daniel@alpaca:~/programming/aptitude/head$ free -t
total used free shared buffers cached
Mem: 1026568 877572 148996 0 56044 466888
-/+ buffers/cache: 354640 671928
Swap: 3012148 49404 2962744
Total: 4038716 926976 3111740
As you can see, there's a decrease in the free space of something like
6MB between the "before" and "after" snapshots. But if you look at the
-/+ buffers/cache line, you can see that it's almost identical between
the two runs. So basically all the change is in the buffer cache, which
is only to be expected when running an I/O-intensive program.
This will have an impact in a low-memory situation, though, since
reading all those package lists will kick other stuff out of memory that
you might care more about.
Daniel
Reply to: