Solved

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 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

10 Experts available now in Live!

Get 1:1 Help Now