Page 1 of 2

Debian ram usage

Posted: 2017-06-26 13:01
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 :)

Re: Debian ram usage

Posted: 2017-06-26 13:17
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.

Re: Debian ram usage

Posted: 2017-06-26 13:30
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!

Re: Debian ram usage

Posted: 2017-06-26 13:54
by silvaf6
Shouldn't Xfce unoptimized use 300mb idle? xD

Re: Debian ram usage

Posted: 2017-06-26 14:12
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+-.

Re: Debian ram usage

Posted: 2017-06-26 15:42
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.

Re: Debian ram usage

Posted: 2017-06-26 15:43
by Hallvor
Image

:lol:

Re: Debian ram usage

Posted: 2017-06-26 15:59
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.

Re: Debian ram usage

Posted: 2017-06-26 16:09
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

Re: Debian ram usage

Posted: 2017-06-26 17:43
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.

Re: Debian ram usage

Posted: 2017-06-28 01:22
by sjukfan
329MB with openbox. (250MB on another computer with less stuff in the background.)

2GB when I start firefox and "some" tabs :P

Re: Debian ram usage

Posted: 2017-06-29 12:42
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:

Re: Debian ram usage

Posted: 2017-06-29 13:24
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 :)

Re: Debian ram usage

Posted: 2017-06-30 09:16
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.

Re: Debian ram usage

Posted: 2017-07-02 20:42
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). :)

Re: Debian ram usage

Posted: 2017-07-06 07:15
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!

Re: Debian ram usage

Posted: 2017-07-10 17:26
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.

Re: Debian ram usage

Posted: 2017-07-10 18:17
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

Re: Debian ram usage

Posted: 2017-07-10 18:33
by silvaf6
I'm not crazy then. I guess free -m should be more accurate

Re: Debian ram usage

Posted: 2017-07-10 18:44
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)