Solved

How to check what app or thread is causing my memory leak?

Posted on 2006-11-14
3
271 Views
Last Modified: 2010-04-13
How can I tell to verify what app or thread is causing a memory leak.  I checked the processes tab in task manager the memory usage appears to be fine, but when I check the performance tab available memory is very low.  Is there a good tool that can easily tell what is causing this memory issue?
0
Comment
Question by:mystikal1000
3 Comments
 
LVL 9

Expert Comment

by:trenes
ID: 17941111
Hi mystikal1000,

Try Proces Monitor from sysinternals.
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/processmonitor.mspx
this will give you a lot more insight.

Cheers!
regards,

Trenes
0
 
LVL 86

Accepted Solution

by:
jkr earned 350 total points
ID: 17941648
>>I checked the processes tab in task manager the memory usage appears to be fine

You are probably checking the wrong column. Go to the "Processes" tab, then choose "View|Select columns" from the menu. Make sure that "Virtual Memory" is selected, this is the value of interest.
0
 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 150 total points
ID: 17942365
Agreed with jkr... (and I imagine trenes too).  Sometimes it is useful to track it over time and use performance monitor and go to the Process (not Processor) object. In the right hand column choose select all instances.  In the left hand side add page file bytes - that is where most memory leak issues seem to show up as the apps request more and more memory - they innocently look OK in standard task manager until you add the extra columns as jkr says.

Steve
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange server 2003 sp2 local queue frozen mail 3 364
P2V Windows Server 2000 - Network Issue 14 48
DNS server query - zone verus cache 5 182
Can’t delete a file 14 164
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Google always has something new and amazing up its sleeve, and the most current thing that they have been working on is another step in the evolution of Google Search, from machine learning to its brilliant successor, deep learning.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

822 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