I’m using an XPS 13 9350 with 16GB of RAM and the Intel Graphics 540. I am using Fedora KDE spin. When I am using computer, either randomly or when I start a program, my computer will slow down and quickly fully freeze. In this state, the only thing I can do is shut it down. Is there any way to make it so that a program is killed, or something else that doesn’t fully stop my system?

5 points

Reminds me of ck3 using 24 GB of ram…

…On a 16gb system

permalink
report
reply
1 point

Put it in the microwave and hit defrost

permalink
report
reply
7 points
*

Personally, I wouldn’t accept this as a normal thing to work around.

You likely have a hardware issue, or a hardware incompatibility. Everyone talking about low RAM is forgetting that the kernel is going to kill a non-required process if it eats up memory and is causing a panic. Most of the time you’ll get crashes, not freezes.

Does it always freeze when beginning work? Run software to do full checks on RAM (memtester) and disk (smartctl long test), as those are the most likely culprits.

If that doesn’t work, and you don’t have spares to try, maybe dual-boot or USB boot Debian to try a different OS with a different build structure to rule out incompatibility.

permalink
report
reply
4 points

Swapping exists. I don’t think kernel kills if swap is availiable. Swapping might be freezing the system

permalink
report
parent
reply
15 points
*

Getting sluggish and then freezing sounds like RAM full. Earlyoom might help, it kills the abuser quicker than the in-kernel but notoriously slow-triggering solution.

And prelockd might help too; it reserves place for some libraries in memory, so they don’t get involved in the freeze haze.

permalink
report
reply
2 points

Never knew about prelockd, seems like a pretty neat and useful idea, thanks!

permalink
report
parent
reply
2 points
*

Idk, but definitely set up your IDE or whatever your “work” is being done in to automatically save on a set time interval.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 6.8K

    Monthly active users

  • 6.8K

    Posts

  • 185K

    Comments