Hi Thomas On 2014-01-21 20:40:34, Thomas Pierson wrote: > Sorry for the delay. I just do some tests using a large flac file > (~900MiB) and resident memory size used by clementine stay under 140MiB > even if the moodbar is enabled. Can you still reproduce this issue on > Jessie or only on unstable?
I'm still able to reproduce this issue. However, I think I was wrong in my initial analysis. It's not the size of the FLAC file that makes clementine eat all the memory. clemetine successfully played other large FLAC files. I only encounter the problem with FLAC files with variable block sizes. It's easily reproducible with a file generated by $ avconv -ar 44100 -f s16le -acodec pcm_s16le -ac 2 -i /dev/zero -t 1:16:20.99 /tmp/test.wav $ flake -v 2 /tmp/test.wav -o /tmp/test.flac Opening /tmp/test.flac should than make clementine eat up all available memory. Running clementine with GST_DEBUG=5 I see a many warnings that are related to this: | 0:01:16.423723984 19619 0x7fb5fc019450 WARN flacdec gstflacdec.c:419:gst_flac_dec_scan_got_frame:<flacdec0> Variable block size FLAC unsupported It seems that gstreamer's FLAC plugin just doesn't support these kind of files. It would be nice if clementine (or gstreamer?) error out and inform the user that it can not handle the file instead of eating up all the memory. I hope this helps and tracking the issue down. Regards -- Sebastian Ramacher
signature.asc
Description: Digital signature

