Date: 05 Sep 2003 09:58:35 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com> To: jesse@wingnet.net Cc: freebsd-questions@freebsd.org Subject: Re: process memory peak recording Message-ID: <44fzjb72wk.fsf@be-well.ilk.org> In-Reply-To: <bj5rdn$3r5$5@sea.gmane.org> References: <bj5rdn$3r5$5@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jesse Guardiani <jesse@wingnet.net> writes: > During a recent programming/installation > project, I found myself wanting to know > the peak memory usage of a given command/process. > > Is there any way to gather this information > without recompiling an application with a > sleep or wait statement at the (assumed) > point of peak memory usage and then looking > at the process with 'ps'? Running under a debugger is one typical way of doing this. For strictly malloc(3)'d memory, a memory profiler will be an easier option. If I remember correctly, there is a choice of them in the ports system.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44fzjb72wk.fsf>