惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
D
Docker
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
Recent Announcements
Recent Announcements
GbyAI
GbyAI
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
L
LangChain Blog
A
About on SuperTechFans
M
MIT News - Artificial intelligence
B
Blog

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
Why Arch Linux KDE still uses RAM after closing? / Applic...
mithrial · 2026-06-29 · via Arch Linux Forums

#1 Today 15:12:40

bivan
Member
Registered: 2026-02-03
Posts: 44

Why Arch Linux KDE still uses RAM after closing?

I start Arch Linux KDE, RAM used: 1.4 GiB, according to System Monitor.
Then e.g. I use Chromium, Steam, then I close all: 2.0 GiB, why not 1.4 GiB as before? What is the remaining 0.6 GiB?

#2 Today 15:29:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,365

Re: Why Arch Linux KDE still uses RAM after closing?

Probably the file cache - those RAM usage aggregators look fancy on r/unixporn but are completely useless for any meaningful insight.
Compare

"free -h" at least separates the cache

#3 Today 15:59:43

bivan
Member
Registered: 2026-02-03
Posts: 44

Re: Why Arch Linux KDE still uses RAM after closing?

At start:

[a@f44101f2-e4b3-4b62-9eed-a988c75d2c02 ~]$ free -h
cat /proc/meminfo
               total        used        free      shared  buff/cache   available
Mem:            31Gi       1.3Gi        29Gi        17Mi       762Mi        29Gi
Swap:           15Gi          0B        15Gi
MemTotal:       32777324 kB
MemFree:        31119604 kB
MemAvailable:   31449564 kB
Buffers:            1584 kB
Cached:           736740 kB
SwapCached:            0 kB
Active:           935924 kB
Inactive:         182848 kB
Active(anon):     444960 kB
Inactive(anon):        0 kB
Active(file):     490964 kB
Inactive(file):   182848 kB
Unevictable:       46928 kB
Mlocked:               0 kB
SwapTotal:      16777212 kB
SwapFree:       16777212 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:                76 kB
Writeback:             0 kB
AnonPages:        427376 kB
Mapped:           396632 kB
Shmem:             17708 kB
KReclaimable:      42504 kB
Slab:             122724 kB
SReclaimable:      42504 kB
SUnreclaim:        80220 kB
KernelStack:        7488 kB
PageTables:        12528 kB
SecPageTables:      2892 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    33165872 kB
Committed_AS:    2226368 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      126096 kB
VmallocChunk:          0 kB
Percpu:            13248 kB
HardwareCorrupted:     0 kB
AnonHugePages:    135168 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
Unaccepted:            0 kB
Balloon:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      360480 kB
DirectMap2M:     5851136 kB
DirectMap1G:    27262976 kB

then Chromium, Steam, then close all:

[a@f44101f2-e4b3-4b62-9eed-a988c75d2c02 ~]$ free -h
cat /proc/meminfo
               total        used        free      shared  buff/cache   available
Mem:            31Gi       1.5Gi        27Gi        22Mi       2.4Gi        29Gi
Swap:           15Gi          0B        15Gi
MemTotal:       32777324 kB
MemFree:        29246296 kB
MemAvailable:   31229268 kB
Buffers:            1584 kB
Cached:          2354048 kB
SwapCached:            0 kB
Active:          2297324 kB
Inactive:         511344 kB
Active(anon):     522616 kB
Inactive(anon):        0 kB
Active(file):    1774708 kB
Inactive(file):   511344 kB
Unevictable:       46928 kB
Mlocked:               0 kB
SwapTotal:      16777212 kB
SwapFree:       16777212 kB
Zswap:                 0 kB
Zswapped:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:        498668 kB
Mapped:           420956 kB
Shmem:             22780 kB
KReclaimable:     124044 kB
Slab:             228244 kB
SReclaimable:     124044 kB
SUnreclaim:       104200 kB
KernelStack:        7008 kB
PageTables:        13296 kB
SecPageTables:      3324 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    33165872 kB
Committed_AS:    2439436 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      126116 kB
VmallocChunk:          0 kB
Percpu:            13824 kB
HardwareCorrupted:     0 kB
AnonHugePages:    188416 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:              0 kB
CmaFree:               0 kB
Unaccepted:            0 kB
Balloon:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      716832 kB
DirectMap2M:    10737664 kB
DirectMap1G:    22020096 kB

indeed Cached: increased, so it's https://en.wikipedia.org/wiki/Page_cache https://www.linuxatemyram.com/ ?
Now, maybe I should create a new topic? How to disable the page cache? Googling "arch linux disable page cache": https://unix.stackexchange.com/question … page-cache "It is not possible"...

Last edited by bivan (Today 16:04:49)

#4 Today 16:16:27

mithrial
Member
Registered: 2017-03-05
Posts: 155

Re: Why Arch Linux KDE still uses RAM after closing?

Why would you need to disable it?