~/.cache/debuginfod high disk usage and /usr/bin/gdb high memory&cpu usage

When I switch the theme from Breeze Dark to Breeze an error occurs, then kde restarts and pops a window saying it has crashed. After that I instantly use htop to check memory usage and find a process /use/bin/gdb is running with high memory&cpu usage, and this gdb is debugging the plasmashell as its starting command shows. Also when I check my disk usage, there is a new folder ~/.cache/debuginfod taking a lot of spaces. Is this because of kde’s crash report? Can I turn it off?

OS: Arch Linux x86_64
Kernel: 6.13.7-arch1-1
DE: Plasma 6.3.3

This process that plasma does using gdb and fetching files using [debuginfod](https://wiki.archlinux.org/title/Debuginfod) allows to automatically send useful crash traces when you click report a crash.
Once the cpu usage is normal again and the process has finished, and you have reported the issue or not, you can remove the cached files in ~/.cache/debuginfod but you might download them again in a next crash.

Reporting the crash increases the chances this crash does get fixed.

This is described in detail in the blog serie:

I am not sure how to disable it, but it is doable, but I wouldn’t recommend it, unless you have circumstances, like if you’re disk space is low, or you have a weak CPU, to save battery…

2 Likes

Memory usage does get low after the debugging process ends. Thank you for answering!