Stripping Amarok memory usage
Submitted by Bram Schoenmakers on 18 November, 2006 - 12:21.
I was interested in which shared libraries are in my system's memory. The following command produces such a list:
# lsof | awk '{print $9}' | grep \\.so | sort -u
I had some trouble with the following line in the output:
/usr/lib/opengl/ati/lib/libGL.so.1.2
It seemed that this library was only used by Amarok, which is nonsense in my opinion. I use Amarok only for music and I don't need OpenGL for that. In Gentoo that's easily overcome by using the -opengl useflag for that. Or use the --without-opengl configuration flag instead.
I also found the 49 loaded Xine plugins a bit overkill, but I haven't found a way to disable them, apart from letting Amarok use another engine. All kinds of plugins are used, most of them you don't need to listen to MP3 music. I wonder if that could be made some more efficient.