• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 308
  • Last Modified:

Increasing physical memory usage

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
ho_cm
Asked:
ho_cm
  • 3
  • 2
1 Solution
 
ho_cmAuthor Commented:
I did try to implement with and without MUTEX but it is still not workable. What could I have missed out?
0
 
_Scotch_Commented:
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
 
ho_cmAuthor Commented:
So how do we extract out the data to show that which part is leaking???
0
 
_Scotch_Commented:
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
 
ho_cmAuthor Commented:
So how do we extract out the data to show that which part is leaking???
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now