From owner-freebsd-multimedia Mon Aug 23 17:34:50 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.ruhr.de (ns.ruhr.de [141.39.224.34]) by hub.freebsd.org (Postfix) with SMTP id 36B1E14FAC for ; Mon, 23 Aug 1999 17:34:33 -0700 (PDT) (envelope-from ue@nathan.ruhr.de) Received: (qmail 21853 invoked by alias); 24 Aug 1999 00:32:56 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.9.3/8.9.2) id CAA43748; Tue, 24 Aug 1999 02:23:23 +0200 (CEST) (envelope-from ue) Date: Tue, 24 Aug 1999 02:23:23 +0200 From: Udo Erdelhoff To: Joseph Lee Cc: freebsd-multimedia@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: mpg123 leaking memory? Message-ID: <19990824022322.A43429@nathan.ruhr.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Joseph Lee on Mon, Aug 23, 1999 at 10:27:22AM -0700 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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-multimedia" in the body of the message