Bug 480471

Summary: Show message box when program crashed due to out of memory
Product: [I don't know] kde Reporter: jakobdev
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DOWNSTREAM    
Severity: wishlist CC: fanzhuyifan, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:

Description jakobdev 2024-01-29 07:49:56 UTC
This is a feature request and not a bug.

I recently played Anno 1800, which was often crashing in the late Game. I thought this was a Bug in Proton, until I run dmesg, which shows the Game was killed due to out of memory. Fater that I was able to solve the problem with a Swapfile.

It would really help if KDE could show a Message Box if a Program crashes due to out of memory. Most Users don't run dmesg. If KDE would show a Message Box, the User would know that the Problem is caused by their System (not enough RAM) and is not a problem with the Program itself.
Comment 1 fanzhuyifan 2024-01-29 23:20:53 UTC
As an alternate solution, you could consider using https://github.com/rfjakob/earlyoom, which supports sending notifications.
Comment 2 Nate Graham 2024-02-06 23:27:14 UTC
Indeed, this is the responsibility of something beneath any KDE software, which doesn't manage program memory. We *could* implement something ourselves, but it's not really the right layer to do it IMO. I'd say it's a distro responsibility to handle this situation.