From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,13d6cd0af0d0d769 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-23 02:16:05 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!cs.utexas.edu!usc!nic-nac.CSU.net!csulb.edu!paris.ics.uci.edu!not-for-mail From: omalley@porte-de-st-ouen.ics.uci.edu (T. Owen O'Malley) Newsgroups: comp.lang.ada Subject: Re: Does memory leak? Date: 22 Mar 1995 18:08:12 -0800 Organization: UC Irvine Department of ICS Message-ID: <3kql6c$1b3@porte-de-st-ouen.ics.uci.edu> References: <3kopao$ekg@nef.ens.fr> NNTP-Posting-Host: porte-de-st-ouen.ics.uci.edu Date: 1995-03-22T18:08:12-08:00 List-Id: In <3kopao$ekg@nef.ens.fr> sands@clipper.ens.fr (Duncan Sands) writes: >Does Ada leak memory? I would like to believe it doesn't, but >how does it manage not to (without having to use unchecked >deallocation)? Most (all of the ones that _I've_ seen) of the Ada compilers will lose track of the memory if you don't call unchecked deallocation. This was a bad enough problem for us that I wrote a tool named plumber to help find such leaks. For each block that is lost, it will log the call stack from where the block was created. Reading the the stack frames, involves some sparc-specific (SunOS) code. It works with any combination of C and SunAda code. Plumber is also tasking safe. For more info: http://www.ics.uci.edu/~omalley/plumber.html ftp://liege.ics.uci.edu/pub/arcadia/plumber_1.5.tar.gz Hope it helps, Owen Department of ICS | omalley@ics.uci.edu (ARPA) UC Irvine | http://www.ics.uci.edu/~omalley/ (WWW) Irvine, CA 92717 | ucbvax!ucivax!omalley (UUCP)