Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Memory Leak in dllhost.exe or files managed by dllhost.exe

Posted on 2007-11-29
13
Medium Priority
?
827 Views
Last Modified: 2012-06-22
We have a server running several instances of dllhost.exe.
We are certain the dllhost.exe file or one of the files it is managing has a memory leak.
How do we identify the specific file, or whether it is the dllhost.exe file itself.
This just started a couple of months ago. Before that we had no problems.
0
Comment
Question by:lanman777
[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
  • 8
  • 5
13 Comments
 
LVL 13

Accepted Solution

by:
haim96 earned 2000 total points
ID: 20383027
0
 

Author Comment

by:lanman777
ID: 20385151
Can I, with these tools identify what files Dllhost.exe has open, then tag those files and watch the memory consumption.
It appears we can.
0
 
LVL 13

Expert Comment

by:haim96
ID: 20385189
yes, with handle.exe
and this is the GUI version:
http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:lanman777
ID: 20385749
It seems like finding a process, tool, command to chase down a memory leak is a very grey area. You would think these would be more clearly defined.
Seems to be like looking for a needle in a haystack.
0
 
LVL 13

Expert Comment

by:haim96
ID: 20390442
if you have some instances of dllhost but only one "eat" your memory
it probably the dll it running and not the dllhost app.
the tools will help you to find what files running under the dllhost ...
and the is a start...
0
 

Author Comment

by:lanman777
ID: 20397766
Looks like very good options.
Just for clarification.
If I run this command;

listdlls  dllhost.exe

It will show me all of the files dllhost.exe has open, correct?
0
 
LVL 13

Expert Comment

by:haim96
ID: 20398032
that's the idea...
but to make sure that you check the one you want, run it with process id (PID) number instead of name.
in the task manager ,add the PID column from the "view" menu so you will be abable to
see the PID of the process you want to check.
0
 

Author Comment

by:lanman777
ID: 20399351
I can see how I can identify which dllhost instance has the memory leak by watching the memory on dllhost when I run    PSLIST DLLHOST  -M, by just watching memory climb over a week or so.
I want to identify which Thread has the memory leak  from within the instance of dllhost I have seen climbing.
Within the Thread there are quite a few DLL's to pin down in regard to the memory leak.
However, next I need to ID the leaking Thread.
??
0
 

Author Comment

by:lanman777
ID: 20405988
Anyone have a tool that will point to a specific thread that has a memory leak?
0
 
LVL 13

Expert Comment

by:haim96
ID: 20406392
i'm not sure that there is any software that can point on memory  leak for sure.
how should it know if  this is a memory leak or by design?
only programmer  with debug tools can know that.
if you find a program that use to much memory until it's crush , you can assume it have memory leak.
0
 

Author Comment

by:lanman777
ID: 20411598
These tools do the trick!
0
 

Author Comment

by:lanman777
ID: 20411607
The Sysinternal tools work very well for this solution.
0
 

Author Comment

by:lanman777
ID: 20411610
.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

604 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