Solved

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

Posted on 2006-11-14
3
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Syteline and a new domain controller 4 748
Windows 2003 server: List of EVENT IDs 1 742
windows explorer 21 185
Server 2012R2 Foundation and Server 2000 3 140
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…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

739 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