Comment 2 for bug 1434226

Revision history for this message
Oscar (orojas518) wrote : Re: kded5 suddenly grabs all the available memory and crashes

Confirming this, after some minutes of use kded5 starts using all available RAM and makes the system unusable.

I decided to do a quick debugging and used cgroups to limit kded5 memory usage (to prevent it from freezing everything) and started paying attention to the memory usage on KSysGuard, when memory usage started increasing without control I sent an interrupt signal to the process and attached gdb, and well, there it was, over 2000 calls to Hook::getField from kded_notificationhelper.so which is provided by package kubuntu-notification-helper. I took a look at the source, and I noticed that after appending part of the locale to the field name it calls itself again and again. I made a quick patch to the source code and now the problem seems to have disappeared, however, I still don't understand why this problem didn't happen before, I only started experiencing this 3 days ago...