poki
October 16, 2022, 11:02am
1
I’m not sure when this started but I checked my ram and vram usage and plasma takes up 6 gigs of ram and 5 gigs of vram. What could cause this issue? I checked the processes and nothing under plasmashell seems to hog up memory.
I am running Plasma 5.25 with an nvidia video card. I have forced full composition on for my monitors but that’s not supposed to eat up a chunk of your ram and almost all vram right?
Zesko
October 16, 2022, 12:36pm
2
Does this problem appear after reboot?
If yes, check what is the output of cat /proc/meminfo
omano
October 16, 2022, 12:38pm
3
How do you check your RAM and VRAM usage? It is common people misinterpret what they read on screen.
poki
October 16, 2022, 12:41pm
4
Yes the ram usage spikes up right after I log in.
Here’s the output of meminfo:
MemTotal: 32812804 kB
MemFree: 19371636 kB
MemAvailable: 22505932 kB
Buffers: 567852 kB
Cached: 2362464 kB
SwapCached: 0 kB
Active: 1633140 kB
Inactive: 10261320 kB
Active(anon): 8084 kB
Inactive(anon): 9152356 kB
Active(file): 1625056 kB
Inactive(file): 1108964 kB
Unevictable: 540 kB
Mlocked: 540 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 2740 kB
Writeback: 0 kB
AnonPages: 8964772 kB
Mapped: 1232112 kB
Shmem: 196288 kB
KReclaimable: 865228 kB
Slab: 1054436 kB
SReclaimable: 865228 kB
SUnreclaim: 189208 kB
KernelStack: 17232 kB
PageTables: 54108 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 16406400 kB
Committed_AS: 14141576 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 108316 kB
VmallocChunk: 0 kB
Percpu: 7136 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
ShmemPmdMapped: 0 kB
FileHugePages: 0 kB
FilePmdMapped: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
Hugetlb: 0 kB
DirectMap4k: 1057280 kB
DirectMap2M: 17756160 kB
DirectMap1G: 14680064 kB
poki
October 16, 2022, 12:41pm
5
nvidia-smi for vram
htop for ram
Zesko
October 16, 2022, 12:56pm
6
Please preformat text in Markdown.
Difficulty: ★☆☆☆☆
Formatting differences
Discourse – this forum’s engine – uses Markdown to format its posts, and removes “unnecessary” whitespace.
Terminal commands often produce output formatted so that they are better readable by the user, taking advantage of the monospaced font used.
Programming code often rely on indentation to make it more readable.
Using preformatting in Markdown
Markdown includes a pattern to provide preformatting when necessary.
You only need to put the part to f…
Can you copy the details from nvidia-smi
and some tools what you saw, then paste them here?
Note: I can not help as I am not an Nividia user.
omano
October 16, 2022, 2:03pm
7
Give output of free
command for your ram after you boot.
poki
October 16, 2022, 2:28pm
8
Sun Oct 16 17:25:06 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 19% 56C P0 36W / 180W | 5619MiB / 8192MiB | 23% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 826 G /usr/lib/Xorg 302MiB |
| 0 N/A N/A 1078 G /usr/bin/kwin_x11 152MiB |
| 0 N/A N/A 1110 G /usr/bin/plasmashell 5084MiB |
+-----------------------------------------------------------------------------+
poki
October 16, 2022, 2:30pm
9
total used free shared buff/cache available
Mem: 32812804 3313480 28109624 16484 1389700 29017856
Swap: 0 0 0
But after a few seconds it climbs up:
total used free shared buff/cache available
Mem: 32812804 5562664 25404864 16532 1845276 26768580
Swap: 0 0 0
omano
October 16, 2022, 2:32pm
10
Login to a newly created user.
I guess you customized your desktop with something broken.
Observe what happens on a new user. I guess it will be fine.
Plasmashell eats 50MB on my side.
poki
October 16, 2022, 2:52pm
11
I created a new user and it took up like a gig or so of ram in total. vram was like 50 megs. I guess that’s the case. I guess now i gotta figure out what I’ve customized.
omano
October 16, 2022, 2:57pm
12
Look first at out of repositories customization, that you installed from KDE store, AUR, or manually. This is usually the culprit.
poki
October 16, 2022, 3:04pm
13
I don’t recall installing anything too special. I reverted my theme back to the original breeze theme and removed all my desktop widgets and nothing really happened.
omano
October 16, 2022, 3:05pm
14
Do you have something starting up with your session? Are you using a new session or do you restore previous session?
poki
October 16, 2022, 3:13pm
15
I have a new session on each startup. I had a little startup script for some stuff but removing those didnt help.
poki
October 16, 2022, 3:18pm
16
Ok I found out that some widget I wrote was haunting my desktop and that was probably the culprit. No idea why that was there or why it took up so much ram. Well thanks for the debugging help. I’ll be sure to uninstall that.
omano
October 16, 2022, 3:35pm
17
omano:
Look first at out of repositories customization, that you installed from KDE store, AUR, or manually. This is usually the culprit.
That’s what I obviously meant, anything not from default Manjaro.
poki
October 16, 2022, 4:42pm
18
Yeah I didn’t have the widget on the desktop but apparently there was 4 really small ones hiding
system
Closed
October 19, 2022, 6:43am
19
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.