Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian ram usage

Here you can discuss every aspect of Debian. Note: not for support requests!
Message
Author
silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Debian ram usage

#1 Post by silvaf6 »

Heloo everyone.

I just saw this post: https://www.reddit.com/r/linux/comments ... n_updated/. The user says his debian 9 xfce has a memory consumption of 345.43mb on day to day use, however on a clean install I got around 600-800mb minimum usage.

So, I was wandering how much memory is your Debian is consuming :)

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#2 Post by silvaf6 »

wizard10000 wrote:
silvaf6 wrote:So, I was wandering how much memory is your Debian is consuming :)
I run Sid and a pretty lean KDE installation. My laptop uses about 375MB of RAM at idle with conky and yakuake running at startup.
jesus. That makes me think that I might have a memory leak or some bloatware installed that I didn't notice.

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Debian ram usage

#3 Post by Nili »

The whole strategy is how we use the RAM space. We bloat it or keept it simple?

Debian NETINST (base=80 packages NO Apps, NO DE, NO WM, NO Gui Login) boots X to only 20MB RAM.
I can show any time with image or text code.

NETINST is just awesome to build yourself or tweak Debian differently!
Last edited by Nili on 2017-06-26 14:43, edited 1 time in total.
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#4 Post by silvaf6 »

Shouldn't Xfce unoptimized use 300mb idle? xD

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#5 Post by silvaf6 »

I'm gonna look into my process`s when I get home
EDIT: Just installed a VM with xfce , cinnamon and gnome. All desktop environments run at around 300mb+-.

User avatar
ticojohn
Posts: 1284
Joined: 2009-08-29 18:10
Location: Costa Rica
Has thanked: 21 times
Been thanked: 44 times

Re: Debian ram usage

#6 Post by ticojohn »

I am running Jessie i386, XFCE, gdm3, Intel i5 processor. At idle I am using about 231MB. I suppose amd64 might use more memory.
I am not irrational, I'm just quantum probabilistic.

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2041
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 149 times
Been thanked: 212 times

Re: Debian ram usage

#7 Post by Hallvor »

Image

:lol:
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Debian ram usage

#8 Post by Bulkley »

I have to confess that I don't understand the point of this thread, or the numbers for that matter. As I look at my Conky readout RAM is showing as 951MiB which is not the same as mega bytes. Since memory is faster than mechanical hard drives I tuned my system to prefer memory. (Sorry, but I did this so long ago I have forgotten how but anyone interested can look it up.) I apologize for derailing this thread but it seems to me that memory use at idle is not important to worry about. Maybe I just don't understand.

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#9 Post by silvaf6 »

Bulkley wrote:I apologize for derailing this thread but it seems to me that memory use at idle is not important to worry about. Maybe I just don't understand.
That is why I posted this as a "Discussion" and not as a "Question/Help" :D

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#10 Post by silvaf6 »

731mb xfce idle only with gnome-system-monitor :O

https://www.dropbox.com/s/1s362uhamxmsr ... 3.png?dl=0
EDIT: oops, forgot to turn off transmission.

Removed some unecessary crap and turned off transmission. 600 mb now. still, 200mb away from a clean installation.

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: Debian ram usage

#11 Post by sjukfan »

329MB with openbox. (250MB on another computer with less stuff in the background.)

2GB when I start firefox and "some" tabs :P
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

Innovate
Posts: 188
Joined: 2015-12-27 01:28

Re: Debian ram usage

#12 Post by Innovate »

idle 194mb
firefox no plugin 352mb
firefox+thunar 381mb
firefox+adp+ghostery+flashgot+thunar 683mb

Xfce4 Stable

Perhaps he didn't installed cups, pulseaudio, samba, conky, compiz which increase lots of ram usages in total.
Since he didn't show any desktop image so we can't tell what stuff that he pre-installed that make it light.
if resize panel into a small box it'll reduce a lot. However at least I can see LXDE getting heavier than Xfce from his testing. :lol:

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1399
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

Re: Debian ram usage

#13 Post by None1975 »

silvaf6 wrote:Heloo everyone.So, I was wandering how much memory is your Debian is consuming :)
I am running Stretch x64, i3WM, no DM (startx), 1266 packages, Intel i7 processor. At idle I am using about 140 MB.I keept it simple :)
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Debian ram usage

#14 Post by Lysander »

750mb-800mb idle. Seems quite a lot in comparison to others here. It doesn't bother me though, I have 5GB RAM and 5GB swap and it never gets maxed out. Performs excellently.

chdslv
Posts: 3
Joined: 2016-02-27 08:17

Re: Debian ram usage

#15 Post by chdslv »

Debian 9 + Openbox, Tint2, Conky and other necessary apps at boot, 256MB at idle. But, that's only for a minute or two, for who keeps the computer in idle state, its for work (or play). :)

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Debian ram usage

#16 Post by Nili »

Debian 8.8

Image

Tweaked, cleaned, striped...

BOOT 8.8sec (Not on a SSD)

# X Console=20MB RAM

# Desktop Startup...

startx + herbstluftwm + dzen2 + conky-cli=26.9MB (1%)

I didn't anything seriously...
If i had guts to change bash for mksh, debian kernel for liquorix kernel, systemd for openrc i'm sure i can sit down to 10 / 15MB RAM.

I have seen some interesting untouched wonders from LinuxBBQ gurus, YES 10MB startups.
However IMO, Debian is a great toy definitely.

Regards!
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#17 Post by silvaf6 »

I just realized gnome system monitor ram usage doesn't seem accurate. "free -m" shows much less ram being used.
Atm gnome system monitor shows 1,7GB while free -m show 1,3GB.

Can you guys compare your ram usage between this two tools, so I know I'm not crazy? Thanks :D

EDIT: htop also shows 1,3GB.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Debian ram usage

#18 Post by Lysander »

silvaf6 wrote:I just realized gnome system monitor ram usage doesn't seem accurate. "free -m" shows much less ram being used.
Atm gnome system monitor shows 1,7GB while free -m show 1,3GB.

Can you guys compare your ram usage between this two tools, so I know I'm not crazy? Thanks :D

EDIT: htop also shows 1,3GB.
gsm shows roughly 250MB more usage

Image

silvaf6
Posts: 70
Joined: 2017-06-12 16:45

Re: Debian ram usage

#19 Post by silvaf6 »

I'm not crazy then. I guess free -m should be more accurate

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Debian ram usage

#20 Post by pylkko »

if you look at the above screenshot, you will notice that if you subtract "available" from "total" (in the output of free) you will get exactly the 901 MB claimed by gnome-system-monitor.
man of free wrote: available
Estimation of how much memory is available for starting new
applications, without swapping. Unlike the data provided by the
cache or free fields, this field takes into account page cache
and also that not all reclaimable memory slabs will be reclaimed
due to items being in use (MemAvailable in /proc/meminfo, avail‐
able on kernels 3.14, emulated on kernels 2.6.27+, otherwise the
same as free)

Post Reply