Solved

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

Posted on 2006-11-14
3
272 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

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…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

821 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