Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 02:23:23 +0200
From:      Udo Erdelhoff <ue@nathan.ruhr.de>
To:        Joseph Lee <nugundam@best.com>
Cc:        freebsd-multimedia@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: mpg123 leaking memory?
Message-ID:  <19990824022322.A43429@nathan.ruhr.de>
In-Reply-To: <Pine.BSF.4.10.9908231013200.23612-100000@shell2.la.best.com>; from Joseph Lee on Mon, Aug 23, 1999 at 10:27:22AM -0700
References:  <Pine.BSF.4.10.9908231013200.23612-100000@shell2.la.best.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 23, 1999 at 10:27:22AM -0700, Joseph Lee wrote:
> So, is mpg123 leaking memory?
It's possible that mpg123 has one or more memory leaks (there's always one
bug left). But I'm sure that it's not as leaky as you suspect. I'm using
3.2-stable (last cvsup/make world on Aug 15) and mpg123 0.59q.

I started mpg123 about 10 hours ago with the parameters -Z --reopen * in
a directory with about 50 mp3s. I've started mpg123 on my account (i.e.
with an uid != 0) on a normal vty (no X11). The result, according to top:

  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
42397 ue        -6   0  4352K  2500K dspwr   97:46 18.70% 18.70% mpg123

mpg123's memory requirements grow with the size of the mp3 file. The 
amount of resident memory for mpg123 will grow from approx. 500 kbyte
to aprrox 75% of mpog123's total memory size while a song is played.
After the end of the song, the cycle repeats.

I think the memory leak is in your jukebox software...

/s/Udo


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990824022322.A43429>