Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com From: "Ralf Habacker" To: "Binutils" Cc: "Cygwin-Apps" Subject: Re: ld-auto-import memory bug fixing Date: Fri, 7 Sep 2001 22:14:04 +0200 Message-ID: <000601c137d9$a4697490$816707d5@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Disposition-Notification-To: "Ralf Habacker" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Hi, is there any way to get the size of by malloc allocated byte of an application ? If have tried malloc_stats() and mallinfo(), which is described in /usr/include/malloc.h and implemented in dlmalloc.cc of the cygwin source, but they seems to be not defined in the cygwin1.dll import library. Another library mmalloc contains mmstats() and mmtrace() which looks equal malloc_stats() but using this prints nothing. :-( Can I use the mmalloc lib with ld to archieve this or is there any other way for this ? Ralf