Solved

Increasing physical memory usage

Posted on 1999-01-28
5
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
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 and use switch statements in the C programming language.

687 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