Solved

Find out which process consumes memory

Posted on 2010-11-18
15
583 Views
Last Modified: 2012-05-10
My computer (Windows XP SP3) has a severe problem. I leave it running over night and in the morning it is not possible to log in again. There are error message boxes that say that there is not enough memory. Sometimes the screen resolution has changed to very low. And sometimes I get the error message "Error connecting to existing session for <user> (Id 0). A device attached to the system is not functioning." I cannot even shut down my computer; I have to pull the plug. It's worth mentioning that during the day I have no problems like that at all. It is only over night.

I already cleared all energy options so that the computer doesn't go to sleep. But it didn't help. Also the event logs don't contain any entries.

I suspect that some process consumes a lot of memory but I have no idea how to find out which because in the morning my computer is not usable. Is there any tool that helps me logging memory consumption of running processes? Or do you have other ideas how I could find out what the problem is?

Regards,
Dirk.
0
Comment
Question by:dirkil2
  • 4
  • 3
  • 3
  • +2
15 Comments
 
LVL 48

Expert Comment

by:dbrunton
ID: 34162557
0
 
LVL 18

Expert Comment

by:awawada
ID: 34162564
Did you try Task Manager or Process Monitor.
0
 
LVL 48

Expert Comment

by:dbrunton
ID: 34162565
Oh and Google

process explorer tutorial
0
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.

 
LVL 18

Assisted Solution

by:awawada
awawada earned 250 total points
ID: 34162598
Use Process Explorer, Filemon, Regmon & Task Manager to identify performance issues:
http://www.youtube.com/watch?v=IgmVDMDtAKY
http://www.youtube.com/watch?v=hmN8usQy_QU
0
 

Author Comment

by:dirkil2
ID: 34162602
Process Explorer looks interesting but is there a way that it logs to a file? This is necessary because in the morning my machine is unusable so I cannot have a look at process explorer.
0
 
LVL 18

Expert Comment

by:awawada
ID: 34162613
As i know you can't:
http://forum.sysinternals.com/topic17457.html

@dbrunton
do you know a possibility?
0
 
LVL 48

Expert Comment

by:dbrunton
ID: 34162682
@awawada
Following your links the following two apps are recommended for logging.  Have never tried them.

Process Viewer http://www.teamcti.com/pview/prcview.htm
Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

I've never tried any of those so can't comment.

Process Explorer does allow you to save a file but it is a snapshot at the time taken and recreates the file from scratch when you save again.  So it is no good as a log file.

Someone could possibly cobble together a script which starts Process Explorer, gets it to save a file and then exits and then appends the saved file to a log file and have the script run through Task Scheduler.  Interesting project but not for me.
0
 
LVL 18

Expert Comment

by:awawada
ID: 34162719
@dirkil2

i to don't have a knowledge in scripting. You can open a new question in the scripting Zones. They can help you to creat a new script or some maybe already having one. I would also post a link to this question.
0
 
LVL 69

Accepted Solution

by:
Qlemo earned 250 total points
ID: 34163099
In such cases you usually let the integrated Performance Monitor create a log for particular sources (processes, system objects, aso.), starting and ending at a given period of time. It is even able to trigger actions on events, like "if available memory is below x, ...".
0
 

Author Comment

by:dirkil2
ID: 34163103
@Qlemo

What is the "Integrated Performance Monitor"?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 34163120
call PerfMon, and you will see ;-).
0
 
LVL 20

Expert Comment

by:viki2000
ID: 34176582
Try also Process Lasso
http://www.bitsum.com/prolasso.php 
0
 
LVL 20

Expert Comment

by:viki2000
ID: 34176614
Or try Microsoft support
http://support.microsoft.com/kb/248345 
0
 

Author Comment

by:dirkil2
ID: 34179411
perfmon looks interesting. I know by now how to use it. But can somebody recommend a set of performance indicators that help me track down my problem?

I suspect a process to eat up all available memory over time when my computer is idle. So I don't know which process it is and when this process is started. Any idea which indicators would you use to find the offending process?
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 34179517
I would choose the following indicators:
Processes - All instances
   Working Set
   Private Bytes
   VIrtual Size
   Non-Paged Pool Size (or similar)
That records all processes. Schedule it to run in the tightmost time frame you are certain the issue arises.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

773 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