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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!h23g2000vbc.googlegroups.com!not-for-mail From: "patrick.gunia@googlemail.com" Newsgroups: comp.lang.ada Subject: Re: Analyzing Memory Consumption of Ada-Programs Date: Wed, 6 May 2009 09:12:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8f6c01a2-4fb8-4778-a817-101faad2aae2@h23g2000vbc.googlegroups.com> References: <506b53fd-d72f-49e1-b4ec-b2b654499e2d@t11g2000vbc.googlegroups.com> <79c3c74e-826a-4ae0-b781-aff246657c2f@q2g2000vbr.googlegroups.com> NNTP-Posting-Host: 78.34.66.221 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1241626338 17667 127.0.0.1 (6 May 2009 16:12:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 6 May 2009 16:12:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: h23g2000vbc.googlegroups.com; posting-host=78.34.66.221; posting-account=D7TrwwoAAAAVyN71CASRiSp392RIjlsB User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.64 (Windows NT 6.0; U; de) Presto/2.1.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:5709 Date: 2009-05-06T09:12:18-07:00 List-Id: On 6 Mai, 15:45, Martin wrote: > On May 6, 1:14=A0pm, "patrick.gu...@googlemail.com" > > > > > > wrote: > > Hi all, > > > I=B4m looking for a tool which is able to tell me about the average > > memory consumption of my program. I use GNAT on Windows with gprof for > > computation time analysis, but I wasn=B4t able to find a tool for memor= y > > analysis. If such a tool could tell me how much memory is consumed by > > different parts of my program, this would be fine, but I would be > > satisfied if it just gave me a simple value which describes the > > consumption. The reason is that I=B4d like to compare a refractured > > version of a piece of software with the original version, so I can > > tell how the memory consumption behaviour was influenced by the > > refracturing. > > > Thanks a lot for your help! > > Patrick > > For GNAT / Windows, would the Task Manager's "Mem Usage", "Peak Memory > Usage" and "VM Usage" be good enough? > > Cheers > -- Martin I=B4ve already tried the task-manager information, which wasn=B4t enough for my needs. But I found Microsofts Process Explorer which is able to show much more information on memory and cpu-usage. I guess that this should work. Though I=B4m still interested in more sophisticated tools like some kind of memory-gprof for windows...I found that valgrind might be the right tool for this, but it can=B4t be used in windows. Rational Purify is another, but as I=B4m still studying I can=B4t afford a legal license. What kind of tools do you use for this purpose?