Re: [mpg123-users] High memory usage
Brought to you by:
sobukus
|
From: Aristos V. <ar...@ar...> - 2015-03-24 11:15:08
|
Hi - I am using the latest version of Raspbian - I am working with the mpg123 binary - Just one instance of mpg123 is running (to my knowledge) - This is the command I am using: /usr/bin/mpg123 -Z -q -f 57236 /root/media/* & - I will be able to provide time data in a few hours as I don't have access on the pi right now. I hope this info helps Aristos On 24/03/2015 09:46, Thomas Orgis wrote: > (First thing: Please start a new thread instead of replying to another > post when starting a new topic. This here comes as a reply to a post > about Windows binaries. Now let's stay in this sub-thread.) > > Am Mon, 23 Mar 2015 15:27:13 +0200 > schrieb Aristos Vasiliou <ar...@ar...>: > >> I have been running some tests using mpg123 on a raspberry pi for a 24/7 music project. My initial tests were performed using 4 mp3 files and I had no issues whasoever. > You have luck that a generous user has donated me a RPi B+ … with some > time, I am in a position to exactly reproduce what you encounter;-) > What system software are you using, a standard image? > >> Since I increased the number of mp3 files to 130, the memory usage of the raspberry pi has rocketed to 97%. >> >> This is bad of course, and I need to find a way to keep the memory usage low. > Of course, consuming that much memory is not expected, but this depends > on what you are demanding. Could you go into more detail? > > 1. Are you working with the library or the mpg123 binary? > 2. How many parallel instances? > 3. How is this actually plumbed together? 130 files opened at once and > ready for sampling? > > Also, some profiling data would be nice. /usr/bin/time is a start, as > it also prints out memory usage (not shell-builtin time). > > > Alrighty then, > > Thomas > > PS: I wonder if you are trying to implement a sampler of some kind. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > mpg123-users mailing list > mpg...@li... > https://lists.sourceforge.net/lists/listinfo/mpg123-users |