comp.lang.ada
 help / color / mirror / Atom feed
* Analyzing Memory Consumption of Ada-Programs
@ 2009-05-06 12:14 patrick.gunia
  2009-05-06 13:45 ` Martin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: patrick.gunia @ 2009-05-06 12:14 UTC (permalink / raw)


Hi all,

I´m 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´t able to find a tool for memory
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´d 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 12:14 Analyzing Memory Consumption of Ada-Programs patrick.gunia
@ 2009-05-06 13:45 ` Martin
  2009-05-06 16:12   ` patrick.gunia
  2009-05-06 16:33 ` Albrecht Käfer
  2009-05-06 19:08 ` Nicholas Paul Collin Gloucester
  2 siblings, 1 reply; 9+ messages in thread
From: Martin @ 2009-05-06 13:45 UTC (permalink / raw)


On May 6, 1:14 pm, "patrick.gu...@googlemail.com"
<patrick.gu...@googlemail.com> wrote:
> Hi all,
>
> I´m 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´t able to find a tool for memory
> 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´d 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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 13:45 ` Martin
@ 2009-05-06 16:12   ` patrick.gunia
  0 siblings, 0 replies; 9+ messages in thread
From: patrick.gunia @ 2009-05-06 16:12 UTC (permalink / raw)


On 6 Mai, 15:45, Martin <martin.do...@btopenworld.com> wrote:
> On May 6, 1:14 pm, "patrick.gu...@googlemail.com"
>
>
>
>
>
> <patrick.gu...@googlemail.com> wrote:
> > Hi all,
>
> > I´m 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´t able to find a tool for memory
> > 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´d 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´ve already tried the task-manager information, which wasn´t 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´m 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´t be used in windows.
Rational Purify is another, but as I´m still studying I can´t afford a
legal license. What kind of tools do you use for this purpose?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 12:14 Analyzing Memory Consumption of Ada-Programs patrick.gunia
  2009-05-06 13:45 ` Martin
@ 2009-05-06 16:33 ` Albrecht Käfer
  2009-05-06 17:12   ` patrick.gunia
  2009-05-06 19:08 ` Nicholas Paul Collin Gloucester
  2 siblings, 1 reply; 9+ messages in thread
From: Albrecht Käfer @ 2009-05-06 16:33 UTC (permalink / raw)


patrick.gunia@googlemail.com schrieb::
> Hi all,
>
> I�m 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�t able to find a tool for memory
> 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�d 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

Sysinternals has also released VMMap, which shows memory consumption in
great detail. Maybe this is what you want.


Albrecht



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 16:33 ` Albrecht Käfer
@ 2009-05-06 17:12   ` patrick.gunia
  0 siblings, 0 replies; 9+ messages in thread
From: patrick.gunia @ 2009-05-06 17:12 UTC (permalink / raw)


Thanks, this looks good on a first glance, I´ll give it a try!



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 12:14 Analyzing Memory Consumption of Ada-Programs patrick.gunia
  2009-05-06 13:45 ` Martin
  2009-05-06 16:33 ` Albrecht Käfer
@ 2009-05-06 19:08 ` Nicholas Paul Collin Gloucester
  2009-05-06 19:16   ` Ed Falis
  2 siblings, 1 reply; 9+ messages in thread
From: Nicholas Paul Collin Gloucester @ 2009-05-06 19:08 UTC (permalink / raw)


On 2009-05-06, patrick.gunia@googlemail.com
<patrick.gunia@googlemail.com> wrote:

|--------------|
|"[..]         |
|refracturing."|
|--------------|

Sirrah,

I thank you for the amusing insight into refactoring :)



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 19:08 ` Nicholas Paul Collin Gloucester
@ 2009-05-06 19:16   ` Ed Falis
  2009-05-07  9:30     ` patrick.gunia
  0 siblings, 1 reply; 9+ messages in thread
From: Ed Falis @ 2009-05-06 19:16 UTC (permalink / raw)


On Wed, 06 May 2009 15:08:56 -0400, Nicholas Paul Collin Gloucester  
<Colin_Paul_Gloster@acm.org> wrote:

> On 2009-05-06, patrick.gunia@googlemail.com
> <patrick.gunia@googlemail.com> wrote:
>
> |--------------|
> |"[..]         |
> |refracturing."|
> |--------------|
>
> Sirrah,
>
> I thank you for the amusing insight into refactoring :)

You're not the only one who enjoyed that one.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-06 19:16   ` Ed Falis
@ 2009-05-07  9:30     ` patrick.gunia
  2009-05-07 13:16       ` Ed Falis
  0 siblings, 1 reply; 9+ messages in thread
From: patrick.gunia @ 2009-05-07  9:30 UTC (permalink / raw)


On 6 Mai, 21:16, "Ed Falis" <fa...@verizon.net> wrote:
> On Wed, 06 May 2009 15:08:56 -0400, Nicholas Paul Collin Gloucester  
>
> <Colin_Paul_Glos...@acm.org> wrote:
> > On 2009-05-06, patrick.gu...@googlemail.com
> > <patrick.gu...@googlemail.com> wrote:
>
> > |--------------|
> > |"[..]         |
> > |refracturing."|
> > |--------------|
>
> > Sirrah,
>
> > I thank you for the amusing insight into refactoring :)
>
> You're not the only one who enjoyed that one.

hm...don´t know why I wrote that, but in the end you all understood
what I meant!
hopefully my refactored code doesn´t contain too many fractures!



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Analyzing Memory Consumption of Ada-Programs
  2009-05-07  9:30     ` patrick.gunia
@ 2009-05-07 13:16       ` Ed Falis
  0 siblings, 0 replies; 9+ messages in thread
From: Ed Falis @ 2009-05-07 13:16 UTC (permalink / raw)


On Thu, 07 May 2009 05:30:38 -0400, patrick.gunia@googlemail.com  
<patrick.gunia@googlemail.com> wrote:

> hm...don´t know why I wrote that, but in the end you all understood
> what I meant!
> hopefully my refactored code doesn´t contain too many fractures!

Don't we all ;-)



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-05-07 13:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-06 12:14 Analyzing Memory Consumption of Ada-Programs patrick.gunia
2009-05-06 13:45 ` Martin
2009-05-06 16:12   ` patrick.gunia
2009-05-06 16:33 ` Albrecht Käfer
2009-05-06 17:12   ` patrick.gunia
2009-05-06 19:08 ` Nicholas Paul Collin Gloucester
2009-05-06 19:16   ` Ed Falis
2009-05-07  9:30     ` patrick.gunia
2009-05-07 13:16       ` Ed Falis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox