Solved

Increasing physical memory usage

Posted on 1999-01-28
5
282 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

839 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