[HACKERS] memory leak detection - Mailing list pgsql-hackers

From Bruce Momjian
Subject [HACKERS] memory leak detection
Date
Msg-id bc93a5a697b78c8618fcb09a3c2832fe
Whole thread Raw
List pgsql-hackers
For those who don't have or can't get Purify, here is an item from the
comp.lang.c FAQ:

- ---------------------------------------------------------------------------

18.2:   How can I track down these pesky malloc problems?

A:      A number of debugging packages exist to help track down malloc
        problems; one popular one is Conor P. Cahill's "dbmalloc,"
        posted to comp.sources.misc in 1992, volume 32.  Others are
        "leak," available in volume 27 of the comp.sources.unix
        archives; JMalloc.c and JMalloc.h in the "Snippets" collection;
        and MEMDEBUG from ftp.crpht.lu in pub/sources/memdebug .  See
        also question 18.16.

        A number of commercial debugging tools exist, and can be
        invaluable in tracking down malloc-related and other stubborn
        problems:

                Bounds-Checker for DOS, from Nu-Mega Technologies,
                P.O. Box 7780, Nashua, NH 03060-7780, USA, 603-889-2386.

                CodeCenter (formerly Saber-C) from Centerline Software
                (formerly Saber), 10 Fawcett Street, Cambridge, MA 02138,
                USA, 617-498-3000.

                Insight, from ParaSoft Corporation, 2500 E. Foothill
                Blvd., Pasadena, CA 91107, USA, 818-792-9941,
                insight@parasoft.com .

                Purify, from Pure Software, 1309 S. Mary Ave., Sunnyvale,
                CA 94087, USA, 800-224-7873, http://www.pure.com ,
                info-home@pure.com .

                Final Exam Memory Advisor, from PLATINUM Technology
                (formerly Sentinel from AIB Software), 1815 South Meyers
                Rd., Oakbrook Terrace, IL 60181, USA, 630-620-5000,
                800-442-6861, info@platinum.com, www.platinum.com .

                ZeroFault, from The Kernel Group, 1250 Capital of Texas
                Highway South, Building Three, Suite 601, Austin,
                TX 78746, 512-433-3333, http://www.tkg.com, zf@tkg.com .


- --
Bruce Momjian
maillist@candle.pha.pa.us

------------------------------

pgsql-hackers by date:

Previous
From: "Martin J. Laubach"
Date:
Subject: Re: [HACKERS] How to submit a patch.
Next
From: "Marc G. Fournier"
Date:
Subject: Re: [HACKERS] Patch for psql.c