Originally posted by MrCooper
View Post
KDE Will Nicely Notify You When Apps Are Being Killed Due To Out-Of-Memory
Collapse
X
-
-
-
A few months ago, I was at a machine about 13 years old with AMD 4cores. The machine has 2GB DDR2 RAM. I ran KDE6 there for a test. It ran beautifully smoothly.
Avis could still rely on the GPU memory consumed.
Leave a comment:
-
-
I just did another check on Plasma RAM usage on my laptop. It is Latitude 7400 with 16 GB RAM and Intel integrated GPU. The first is from text console (CTRL-ALT-F2) without Plasma session. Second is after logging into Plasma session using Konsole. Command is "free -h". Plasma version 6.2.2, QT 6.8 running in FC41. Plasma is using just 300MB.
No Plasma
Code:total used free shared buff/cache available Mem: 15Gi 1.3Gi 10Gi 223Mi 4.2Gi 14Gi Swap: 8.0Gi 0B 8.0Gi
Plasma running
Code:total used free shared buff/cache available Mem: 15Gi 1.6Gi 10Gi 199Mi 4.2Gi 13Gi Swap: 8.0Gi 0B 8.0Gi
Leave a comment:
-
-
Originally posted by MrCooper View PostAnd brace for a bad time. Linux user space code generally either assumes that malloc never fails, or if there are error handling paths, they tend to be not well-tested. Long story short, malloc returning NULL is likely to result in fireworks.
Leave a comment:
-
-
Originally posted by timrichardson View Post
Windows doesn't do overcommit, so an application gets an out of memory error and deals with it hopefully, probably often by terminating.
Linux does overcommit which means the kernel must deal with the problem, and can therefore make different choices. The kernel takes a holistic approach and doesn't necessarily kill the process making the demand which caused out of memory. I don;t know if Windows server is different, because the Linux approach seems a lot better for a server.
Leave a comment:
-
-
Originally posted by Nth_man View Post
Note: You can build Krusader, it will use Qt6.
Leave a comment:
-
-
avis: trolls
everyone: well aware of it
also everyone: triggered anyway
Leave a comment:
-
-
Originally posted by uid313 View PostVery nice!
I don't have a swap file or a swap partition, my experience when my system runs out of RAM is that everything freezes, then if I wait a minute or two then some process gets killed and things work again.
Without swap, the kernel can't reclaim anonymous data pages, so they all use up system RAM, even effectively unused ones. The only way the kernel can reclaim memory is by evicting file-backed pages, a lot of which are from executable binaries. As memory pressure increases, the kernel spends increasingly more time faulting back in pages to execute.
Originally posted by moonwalker View Post
Again, if you want Linux to behave more like Windows in that regard - set `vm.overcommit_memory` to 2 in your /etc/sysctl.conf.
Leave a comment:
-
-
Originally posted by timrichardson View Post
swapspace, an ubuntu/debian package, does dynamic swap, I use it on my installs, as well as well configured zswap.
Leave a comment:
-
Leave a comment: