Hi David,
thanks for your quick reply.
The swap happens only at the launch of the scripts and decrease after.
This can be a problem with the computing of the file length ?
Best,
Thomas
David Baelde a écrit :
Hi,
On Thu, Dec 3, 2009 at 9:08 PM, <noser...@no-log.org> wrote:
I'd like to play multiple local mp3 files at the same time and once (15 files
of 700/800Mo each).
With single(), every files are cached at the beginning :
this is a good feature for jingles, etc.. but in my case this take a lot
of time to compute everything and the memory is fully used and go to
swap..
Unless I'm missing something, local files are not cached. The only
heaviness is that we open them twice (once for checking, once for
playing). Also, we might decode some data a bit in advance, but not
that much. I don't see why that would consume all of your RAM --
though I guess you're running liq on that box of yours which might not
have that much memory.
The best thing would be that I run similar tests to check that things
seem reasonable here. But I don't have time for that right now...
Perhaps one thing to check easily: the memory consumption of playing a
file should be roughly the same as "liquidsoap -r that_file".
Also, anybody sees why libmad or libvorbis would consume more memory
when opening and starting to decode larger files?
Sorry,
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users