Bug 480471 - Show message box when program crashed due to out of memory
Summary: Show message box when program crashed due to out of memory
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 07:49 UTC by jakobdev
Modified: 2024-02-06 23:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.