Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Increasing physical memory usage

Posted on 1999-01-28
Medium Priority
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?
Question by:ho_cm
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

Author Comment

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

Accepted Solution

_Scotch_ earned 20 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


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".


Author Comment

ID: 1258489
So how do we extract out the data to show that which part is leaking???

Expert Comment

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.

Author Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

610 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