From owner-freebsd-questions@FreeBSD.ORG Fri May 16 06:01:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89D9F37B401 for ; Fri, 16 May 2003 06:01:20 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EAEA43F85 for ; Fri, 16 May 2003 06:01:19 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h4GCxL1k007893; Fri, 16 May 2003 09:59:21 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 16 May 2003 09:59:21 -0300 (ART) From: Fernando Gleiser To: "Vest.Michael" In-Reply-To: <013380D4A048F74D9FF6F3C17933C43302CF73DF@mufasa.awii.com> Message-ID: <20030516095423.K1361-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-119.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES,USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: "'mikervest@yahoo.com'" cc: "'questions@FreeBSD.org'" Subject: Re: How to detect memory leaks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 13:01:20 -0000 On Thu, 15 May 2003, Vest.Michael wrote: > Dear FreeBSD, > > Do you know how to detect memory leaks in applications running on > FreeBSD? > We have an application written in C that is running on FreeBSD 3.4 and > 4.5. We > suspect that there are some memory leaks in the application, but are unsure > how to > track them down. Do you know of any tools or procedures that we can use to > determine > where the leaks are? You can try Electric Fence (devel/ElectricFence). It's a malloc() debugger Fer