From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25473 invoked by alias); 3 May 2012 19:23:12 -0000 Received: (qmail 25465 invoked by uid 22791); 3 May 2012 19:23:11 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mailrelay011.isp.belgacom.be (HELO mailrelay011.isp.belgacom.be) (195.238.6.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 May 2012 19:22:59 +0000 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8KAPjZok/ZiDto/2dsb2JhbABFizWmIwKBIIEIggQFAQEEAQgBAS4eAQEGGwUGAgMFAgEDISUUAQQaBh4GARoCAQIDAYd3Cbp7E4YzhU2EEmMEiDCFSphGgmo Received: from 104.59-136-217.adsl-dyn.isp.belgacom.be (HELO soleil) ([217.136.59.104]) by relay.skynet.be with SMTP; 03 May 2012 21:22:57 +0200 Message-ID: From: "Philippe Waroquiers" To: "xgsa" , "Hei Chan" Cc: References: <1335710405.38804.YahooMailNeo@web162403.mail.bf1.yahoo.com> <4FA22BFD.1060600@yandex.ru> Subject: Re: Memory Dump Date: Thu, 03 May 2012 19:23:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00012.txt.bz2 > Hi, > > I am not sure, but it seems massif (the tool from the valgrind > toolchain) could help you. > > P.S. However the question is still interesting - is there a possibility > to solve the problem with gdb? Could someone answer it? Valgrind massif or Valgrind memcheck are providing functionalities to give heap information. Note that Valgrind 3.7.0 has an integrated gdbserver, which means you can do "heap snaphots" or "leak search" or similar on request from a gdb (or from command line). Philippe