Copied from: http://bugs.kde.org/show_bug.cgi?id=119504 The primary artsd process is leaking memory when it plays ogg and mp3 files. Since KDE uses ogg files for sound events, after about a week artsd is using a lot of memory which slows the system down. The VmSize, VmRSS, and VmData all increase at the beginning of ogg playback then when it finishes playing not all of that used memory is freed. I also noticed that when playing a long ogg file the VmRSS will constantly grow by a few kB during every second of playback. The same thing happens with mp3 files but not as bad as with ogg files. Playing wav files however allocates very little memory in artsd and the usage doesn't increase during playback. Fix: This patch is from the patches at: http://bugs.kde.org/show_bug.cgi?id=11950 I merged the patches to make it ready to commit: files/patch-akode_artsplugin_akodePlayObject_impl.cpp ************************************ How-To-Repeat: Copied from: http://bugs.kde.org/show_bug.cgi?id=119504 How to Reproduce: 1. Play an ogg or mp3 file with artsplay, noatun, or a KDE event 2. Watch the artsd memory usage increase while it plays 3. Wait until it finishes playing or manually stop the playback 4. Notice the slightly increased memory usage of the main artsd process since before playing the file
Responsible Changed From-To: freebsd-ports-bugs->kde Over to maintainer
State Changed From-To: open->closed Committed, thanks!