Search the web
Sign In
New User? Sign Up
Fortran · Fortran Q/A's, info, lib and fans
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to see memory usage???   Message List  
Reply | Forward Message #438 of 509 |
Re: How to see memory usage???

--- In Fortran@yahoogroups.com, "Balwinder Singh"
<handsome_2k_21@...> wrote:
>
> Hi all,
> I am new to fortran, so I am just trying to know how fortran code
> uses memory.
> I run a fortran program and want to look up how much memory it
uses
> while its running. I look at the task manager(windows XP) to know
> the memory usage.
> I am using the following code to know how much memory my arrays
are
> using:
> >>>>
> allocate(a(nx))
> ............
> ............
> ............
> .............using a() here..........
> ..........
> .........
>
> pause -----[1]
>
> dealocate(a)
> pause-----[2]
>
> >>>>>>>>>>
>
> I check the task manager at [1] and [2].
> When I ran the code with multiple arrays (instead of just one), I
> didn't see any significant change in memory at [1] and [2] pause
> statement. I am just wondering if there is any other program which
> can tell me 'not so significant' memory changes?
>
> Thanks.
>

I think Process Explorer is probably better than winxp's Task
Manager. Otherwise, just a guess, whilst running, try the "mem"
command from a Dos_prompt.

Dyl.









Sat Jul 29, 2006 3:23 pm

dylwhs
Offline Offline
Send Email Send Email

Forward
Message #438 of 509 |
Expand Messages Author Sort by Date

Hi all, I am new to fortran, so I am just trying to know how fortran code uses memory. I run a fortran program and want to look up how much memory it uses ...
Balwinder Singh
handsome_2k_21
Offline Send Email
Jul 19, 2006
5:24 am

... uses ... are ... I think Process Explorer is probably better than winxp's Task Manager. Otherwise, just a guess, whilst running, try the "mem" command from...
dylwhs
Offline Send Email
Jul 31, 2006
1:05 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help