Solved

Increasing physical memory usage

Posted on 1999-01-28
5
274 Views
Last Modified: 2010-04-15
I am using Shared memory to share data. Whenever I try to run my application accessing this shared memory... my physical memory as shown in the task manager(WIN NT) starts to increase at a steady rate of about 4KB per cycle. What could be the cause?
0
Comment
Question by:ho_cm
  • 3
  • 2
5 Comments
 

Author Comment

by:ho_cm
ID: 1258487
I did try to implement with and without MUTEX but it is still not workable. What could I have missed out?
0
 
LVL 3

Accepted Solution

by:
_Scotch_ earned 10 total points
ID: 1258488
The answer is "Something is leaking".  Detecting what can be
hard.  I'd start by starting the application, then doing this:

START -> Programs -> Administrative Tools -> Performance Monitor

Then...

File-> New Chart
Edit-> Add to Chart

In the object dropdown select "process" (not processor) and in
the instance dropdown select your application process.  Then I
would add things from the counters until I see the one thats
increasing...  As a wild guess, start with "Handles".

0
 

Author Comment

by:ho_cm
ID: 1258489
So how do we extract out the data to show that which part is leaking???
0
 
LVL 3

Expert Comment

by:_Scotch_
ID: 1258490
You can only watch the graphs to verify which resource is leaking
after that you need tools that are somewhat more indepth.

There's a tool called "bounds checker" that is supposed to be
really good, but I've never used it.
0
 

Author Comment

by:ho_cm
ID: 1258491
So how do we extract out the data to show that which part is leaking???
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.

809 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