memory usage

New Message Reply Date view Thread view Subject view Author view

Mike Stephens (stephens++at++zeus.wes.army.mil)
Mon, 5 May 1997 10:49:39 -0500 (CDT)


although this is a general question it came up in a pf context so let me
pick your collective brains.

is there a system/library call to tell how much memory your process is
using? evidently i have a memory leak i a pf program. a small leak
(if there is such a thing) that took a long time to cause problems
since there's a lot of memory in the system in was developed on.

i found that i could artificially make it worse by changing some array
sizes. if fact this is how it was detected. i used gr_osview to see the
memory get gobbled. what i want to be able to do is what gr_osview does
under the covers: get a memory usage number. this way the memory usage
could be monitored without a tool like gr_osview.

thanks,
mike (stephens++at++wes.army.mil)
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:11 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.