You are not logged in.

#1 2009-09-23 20:50:09

bitpal
Member
From: Berlin, Germany
Registered: 2008-02-03
Posts: 46
Website

[SOLVED] pacman install bloats memory

I have set up an Arch cloud server with 256 MB, and I noticed when I install something like apache or mysql the used memory goes from, say 30% to almost 90%. When I reboot the system it's back to normal.

How can I find out the reason for the memory bloat? Is there any way of fixing it short of rebooting?

Last edited by bitpal (2009-09-23 22:27:35)

Offline

#2 2009-09-23 21:03:09

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: [SOLVED] pacman install bloats memory

file system cache

Offline

#3 2009-09-23 22:12:43

bitpal
Member
From: Berlin, Germany
Registered: 2008-02-03
Posts: 46
Website

Re: [SOLVED] pacman install bloats memory

quite laconical. what do you mean? how do I empty the 'file system cache'?

Offline

#4 2009-09-23 22:23:21

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] pacman install bloats memory

The kernel does that for you if it needs the space for programs. File system cache is not a bad thing, no need to worry about that. The ram is there, it's free (as in not being used otherwise) so better put to good use.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2009-09-23 22:27:12

bitpal
Member
From: Berlin, Germany
Registered: 2008-02-03
Posts: 46
Website

Re: [SOLVED] pacman install bloats memory

Thanks, that cleared it up!

Offline

#6 2009-09-24 01:18:56

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: [SOLVED] pacman install bloats memory

[ty@work ~]$ free -m
             total       used       free     shared    buffers     cached
Mem:           502        452         49          0         60        187
-/+ buffers/cache:        204        297
Swap:          486          0        486

I take it you are new to Linux wink
You can see above. Total is 502MB, the amount used including the cache/buffers is 452MB and the amount currently in use not including cache/buffers is 204MB


neutral

Offline

Board footer

Powered by FluxBB