Solved

Increasing physical memory usage

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
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.
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.

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now