Re: [mpg123-users] High memory usage
Brought to you by:
sobukus
|
From: Thomas O. <tho...@or...> - 2015-03-24 07:46:14
|
(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. |