Solved

Memory Monitor

Posted on 2004-11-01
123 Views
Last Modified: 2010-04-17
How do I monitor how much memory my program is using...  
Isn't there some quick o.s. tool available...?

I am using windows 2000 pro.
0
Question by:kamleshmistry
    5 Comments
     
    LVL 20

    Assisted Solution

    by:dsacker
    Bring your mouse pointer to the very bottom of your screen, right-click, and select Task Manager.

    Select the Processes tab and find your program.
    0
     
    LVL 16

    Assisted Solution

    by:JohnBPrice
    Task manager will show you the amount of memory in use by process.  In the processes tab, if it isn't showing memory usage, choose View --> Select Columns.
    0
     
    LVL 23

    Accepted Solution

    by:
    From within your application, call  getrusage() and check the resident set size.

    From the shell, call 'ps' or 'top' program

    0
     
    LVL 2

    Expert Comment

    by:mannujam
    Have u tried call stack option in VC++ enviroment
    After giving pdb file in same and when ur application is opened in assembly just click the --View-> debug Window-> Call Stack
    It will show you where actually get stucked in code


    0
     
    LVL 2

    Expert Comment

    by:mannujam
    Sorry this was pasted at some other place but by mistake i pasted in ur  question area
    I am sorry for inconvenience
    Mannu Sharma
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Product Review - Android Remix

    Come along for the ride with our Senior Product Manager, Brian Matis, as he reviews the Android Remix.

    Suggested Solutions

    This article is filled with multiple code samples and explanations for mathematical calculations. They are as follows: 1. General tips 2. Quadratic formula 3. Object collision 4. Projectile path General Tips       Here are some of my tips f…
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    877 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now