Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 01-04-2007, 04:15 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Bogus memory usage

Noticing my computer slowing down here, and task manager says 960MB in
use. (It really shouldn't start to swap and get slow for another 64 or
so MB, then, but go figure.)

Oddly enough, the task manager doesn't seem to explain the usage. As
administrator and with "Show processes from all users" checked, the VM
Size column sums to maybe 700-750MB. The three biggest items are
159,604 (That one's something that uses Java, of course), 138,940
(Browser with many open windows and yep, a Java applet loaded in one of
'em), and 101,852 (Exploder). Another 11 items are in the five digits;
all close to 20M except for three that average more like 40M, so call
that 14*20 or another 280 meg. The rest might make up another 20-50M.

So we have two big items adding to around 300M, many small items adding
to maybe another 300, and another big item weighing in at around 100.

All of this is somewhat approximate (particularly as I'm estimating
megs as 1 million bytes instead of 1048576) but I very much doubt that
the sum exceeds 750.

That means about 200MB are allocated by something that isn't any
running process, as far as I can tell.

Of course, the first guess is that maybe malware is hiding itself from
task manager, but nothing shows up (including with RootkitRevealer --
hiding 200MB from a system administrator probably requires deploying a
rootkit, but nothing crops up). AV, spyware detectors, etc. show clean.

This leads me to suspect that if we aren't dealing with a "rootkit"
we're dealing with a "severe Windows bug" -- what a shocker -- and it's
either causing task manager to misreport memory usage, misreport
process sizes, and/or miss processes entirely, and/or it's actually
gobbling up memory somewhere that task manager doesn't look, maybe
device drivers, DMA buffers, and/or the kernel.

Anyone have a clue, or any idea how to free some of it up short of
rebooting?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 01-04-2007, 04:15 AM
  #2 (permalink)  
Old 01-04-2007, 04:15 AM
Richard Urban
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Process Explorer. Find that malware hiding on your system using up
resources.

http://www.microsoft.com/technet/sys...sExplorer.mspx

--

Regards,

Richard Urban
Microsoft MVP Windows Shell/User
(For email, remove the obvious from my address)

Quote from George Ankner:
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!

"Nebulon" <twisted0n3******.com> wrote in message
news:1163510739.072947.314220@b28g2000cwb.googlegr oups.com...
> Noticing my computer slowing down here, and task manager says 960MB in
> use. (It really shouldn't start to swap and get slow for another 64 or
> so MB, then, but go figure.)
>
> Oddly enough, the task manager doesn't seem to explain the usage. As
> administrator and with "Show processes from all users" checked, the VM
> Size column sums to maybe 700-750MB. The three biggest items are
> 159,604 (That one's something that uses Java, of course), 138,940
> (Browser with many open windows and yep, a Java applet loaded in one of
> 'em), and 101,852 (Exploder). Another 11 items are in the five digits;
> all close to 20M except for three that average more like 40M, so call
> that 14*20 or another 280 meg. The rest might make up another 20-50M.
>
> So we have two big items adding to around 300M, many small items adding
> to maybe another 300, and another big item weighing in at around 100.
>
> All of this is somewhat approximate (particularly as I'm estimating
> megs as 1 million bytes instead of 1048576) but I very much doubt that
> the sum exceeds 750.
>
> That means about 200MB are allocated by something that isn't any
> running process, as far as I can tell.
>
> Of course, the first guess is that maybe malware is hiding itself from
> task manager, but nothing shows up (including with RootkitRevealer --
> hiding 200MB from a system administrator probably requires deploying a
> rootkit, but nothing crops up). AV, spyware detectors, etc. show clean.
>
> This leads me to suspect that if we aren't dealing with a "rootkit"
> we're dealing with a "severe Windows bug" -- what a shocker -- and it's
> either causing task manager to misreport memory usage, misreport
> process sizes, and/or miss processes entirely, and/or it's actually
> gobbling up memory somewhere that task manager doesn't look, maybe
> device drivers, DMA buffers, and/or the kernel.
>
> Anyone have a clue, or any idea how to free some of it up short of
> rebooting?
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 01-04-2007, 04:15 AM
Richard Urban
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Process Explorer. Find that malware hiding on your system using up
resources.

http://www.microsoft.com/technet/sys...sExplorer.mspx

--

Regards,

Richard Urban
Microsoft MVP Windows Shell/User
(For email, remove the obvious from my address)

Quote from George Ankner:
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!

"Nebulon" <twisted0n3******.com> wrote in message
news:1163510739.072947.314220@b28g2000cwb.googlegr oups.com...
> Noticing my computer slowing down here, and task manager says 960MB in
> use. (It really shouldn't start to swap and get slow for another 64 or
> so MB, then, but go figure.)
>
> Oddly enough, the task manager doesn't seem to explain the usage. As
> administrator and with "Show processes from all users" checked, the VM
> Size column sums to maybe 700-750MB. The three biggest items are
> 159,604 (That one's something that uses Java, of course), 138,940
> (Browser with many open windows and yep, a Java applet loaded in one of
> 'em), and 101,852 (Exploder). Another 11 items are in the five digits;
> all close to 20M except for three that average more like 40M, so call
> that 14*20 or another 280 meg. The rest might make up another 20-50M.
>
> So we have two big items adding to around 300M, many small items adding
> to maybe another 300, and another big item weighing in at around 100.
>
> All of this is somewhat approximate (particularly as I'm estimating
> megs as 1 million bytes instead of 1048576) but I very much doubt that
> the sum exceeds 750.
>
> That means about 200MB are allocated by something that isn't any
> running process, as far as I can tell.
>
> Of course, the first guess is that maybe malware is hiding itself from
> task manager, but nothing shows up (including with RootkitRevealer --
> hiding 200MB from a system administrator probably requires deploying a
> rootkit, but nothing crops up). AV, spyware detectors, etc. show clean.
>
> This leads me to suspect that if we aren't dealing with a "rootkit"
> we're dealing with a "severe Windows bug" -- what a shocker -- and it's
> either causing task manager to misreport memory usage, misreport
> process sizes, and/or miss processes entirely, and/or it's actually
> gobbling up memory somewhere that task manager doesn't look, maybe
> device drivers, DMA buffers, and/or the kernel.
>
> Anyone have a clue, or any idea how to free some of it up short of
> rebooting?
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 01-04-2007, 04:16 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Richard Urban wrote:
> Process Explorer. Find that malware hiding on your system using up
> resources.


Eh. Strange. It shows VM sizes for everything vastly huger than task
manager does -- in fact, the numbers add up to way too *much*. Some
things are doubled in size. Total usage is around 2GB if Process
Explorer is the accurate one.

My guess is that neither of them are. Task Manager is underestimating
by a moderate amount and Process Explorer overestimating by a huge
amount.

Why either of them are *estimating* at all I haven't a clue.

I see that Explorer and Yahoo Instant Messenger are the culprits
responsible for leaking so many GDI handles.

On the other hand, it's Firefox and Java that take the memory cake.
Process Explorer claims they are each half a gig(!) in size -- surely
not. The Java task should be almost exactly 256MB given the -Xmx256M on
its command line. And no Web browser should ever bloat up to even
256MB. Task manager shows me a Firefox process 1/3 the size of the one
Process Explorer shows. (And yes, there's only the one.)

Private Bytes looked like it might be more accurate -- problem is
instead of counting shared material multiple times it doesn't even
count it once, for a grand total of about 500M, a worse underestimate
than Task Manager's.

Peak Working Set Size gives the numbers closest to Task Manager's VM
Size.

*Nothing* seems to be able to enlighten me as to where 200M just
disappeared to.

No suspicious processes are showing up. (In particular, nothing that
isn't in Task Manager, aside from DPCs and Interrupts, which seems to
be normal.)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 01-04-2007, 04:16 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Richard Urban wrote:
> Process Explorer. Find that malware hiding on your system using up
> resources.


Eh. Strange. It shows VM sizes for everything vastly huger than task
manager does -- in fact, the numbers add up to way too *much*. Some
things are doubled in size. Total usage is around 2GB if Process
Explorer is the accurate one.

My guess is that neither of them are. Task Manager is underestimating
by a moderate amount and Process Explorer overestimating by a huge
amount.

Why either of them are *estimating* at all I haven't a clue.

I see that Explorer and Yahoo Instant Messenger are the culprits
responsible for leaking so many GDI handles.

On the other hand, it's Firefox and Java that take the memory cake.
Process Explorer claims they are each half a gig(!) in size -- surely
not. The Java task should be almost exactly 256MB given the -Xmx256M on
its command line. And no Web browser should ever bloat up to even
256MB. Task manager shows me a Firefox process 1/3 the size of the one
Process Explorer shows. (And yes, there's only the one.)

Private Bytes looked like it might be more accurate -- problem is
instead of counting shared material multiple times it doesn't even
count it once, for a grand total of about 500M, a worse underestimate
than Task Manager's.

Peak Working Set Size gives the numbers closest to Task Manager's VM
Size.

*Nothing* seems to be able to enlighten me as to where 200M just
disappeared to.

No suspicious processes are showing up. (In particular, nothing that
isn't in Task Manager, aside from DPCs and Interrupts, which seems to
be normal.)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 01-04-2007, 04:16 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Nebulon wrote:
[snip]

Well, some of the bloat was hidden in Yahoo Instant Messenger. I noted
the commit charge in Task Manager (940M at that moment) and the YIM
process size (40M), then nuked it. (Actually, I right clicked its icon
and hit "exit", but "nuked it" sounds more impressive.) Once it had
died (no YIM entry in Task Manager) the commit charge showed as 880M.

It doesn't take a genius to note that 940 - 40 = 900, not 880.

So 1/10 of the "dark matter" was clumped in an invisible halo around
YIM.

No doubt, the other 9/10 is clumped around Exploder, where it can't be
freed without having to either reboot or lose all my folder position
and current-directory state.

Yuck.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 01-04-2007, 04:16 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Nebulon wrote:
[snip]

Well, some of the bloat was hidden in Yahoo Instant Messenger. I noted
the commit charge in Task Manager (940M at that moment) and the YIM
process size (40M), then nuked it. (Actually, I right clicked its icon
and hit "exit", but "nuked it" sounds more impressive.) Once it had
died (no YIM entry in Task Manager) the commit charge showed as 880M.

It doesn't take a genius to note that 940 - 40 = 900, not 880.

So 1/10 of the "dark matter" was clumped in an invisible halo around
YIM.

No doubt, the other 9/10 is clumped around Exploder, where it can't be
freed without having to either reboot or lose all my folder position
and current-directory state.

Yuck.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 01-04-2007, 04:24 AM
Mak
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage


"Nebulon" <twisted0n3******.com> wrote in message
news:1163521287.943968.90220@e3g2000cwe.googlegrou ps.com...
> Eh. Strange. It shows VM sizes for everything vastly huger than task
> manager does -- in fact, the numbers add up to way too *much*. Some
> things are doubled in size. Total usage is around 2GB if Process
> Explorer is the accurate one.
>
> My guess is that neither of them are. Task Manager is underestimating
> by a moderate amount and Process Explorer overestimating by a huge
> amount.

<snip>
Both TM and PE are right / accurate.
The reason for the difference you are seeing is quite simple: TM columns
labels are not the same as PE labels, i.e. they show different things.
(and IMO names MS chose for TM columns are way off)

Let's label everything as it should be:

Perfmon counter TaskManager column ProcessExplorer column
Explanation
(Process object) (processes tab)
private bytes VM size Private Bytes
Processe's contribution to commit charge (stuff that get's backup by paging
file)
virtual bytes (can't show) Virtual Size
Total virtual memory in use by process
working set mem usage Working Set
Part of the processe's virtual memory currently in RAM (some of it is
sharable)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 01-04-2007, 04:24 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Mak wrote:
[snip]

Interesting, but it doesn't solve my problem, to wit, plugging the
holes in whatever's leaking.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 01-04-2007, 04:24 AM
Mak
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

I wasn't trying to solve the problem you are having...

....reading your original post now.... how do you know the slow down is
because of.. memory? Maybe some of the threads you are running are I/O
bound?( or CPU bound?)
I mean, what makes you think your computer paging to disk excessively due to
high page fault rate in one or more of your applications? It can be, I just
can't see it in your OP post.
BTW what your paging file size is set to? How much of that 940MB of commit
charge is actiually in paging file?

"Nebulon" <twisted0n3******.com> wrote in message
news:1163746174.178633.309480@k70g2000cwa.googlegr oups.com...
> Mak wrote:
> [snip]
>
> Interesting, but it doesn't solve my problem, to wit, plugging the
> holes in whatever's leaking.
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #11 (permalink)  
Old 01-04-2007, 04:25 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Mak wrote:
> I wasn't trying to solve the problem you are having...
>
> ...reading your original post now.... how do you know the slow down is
> because of.. memory?


When the mem use tops 1GB and the system starts to swap, it really
isn't very hard to guess. :)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 01-04-2007, 04:26 AM
Mak
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

The smart young man like you - what was I thinking?
Good luck with your Windows 98.

"Nebulon" <twisted0n3******.com> wrote in message
news:1163785873.582284.193630@e3g2000cwe.googlegro ups.com...
> Mak wrote:
> > I wasn't trying to solve the problem you are having...
> >
> > ...reading your original post now.... how do you know the slow down is
> > because of.. memory?

>
> When the mem use tops 1GB and the system starts to swap, it really
> isn't very hard to guess. :)
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 01-04-2007, 04:27 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Mak wrote:
> The smart young man like you - what was I thinking?
> Good luck with your Windows 98.


I'm using XP actually. This *is* the XP-specific newsgroup...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 01-04-2007, 04:28 AM
Mak
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

xp doesn't swap
"Nebulon" <twisted0n3******.com> wrote in message
news:1163828319.685193.323300@m73g2000cwd.googlegr oups.com...
> Mak wrote:
> > The smart young man like you - what was I thinking?
> > Good luck with your Windows 98.

>
> I'm using XP actually. This *is* the XP-specific newsgroup...
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 01-04-2007, 04:28 AM
Nebulon
Newsgroup Contributor
 
Posts: n/a
Re: Bogus memory usage

Mak wrote:
> xp doesn't swap


What have you been smoking, and can I have some too?

No, seriously -- what modern OS doesn't have VM and the ability to have
gigs more VM than physical RAM? And on what planet is it to be found?
Sheesh.

Now, could someone who possesses something vaguely resembling what's
known colloquially as a "clue" please respond?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Memory Issues - High Memory Usage with AjaxPro (fixed in current version) TPC General Questions 0 09-14-2008 02:40 PM
ASP.NET Memory Issues - High Memory Usage with AjaxPro (fixed in current version) TPC General Questions 0 09-14-2008 01:10 PM
ASP.NET Memory Issues - High Memory Usage with AjaxPro (fixed in current version) TPC General Questions 0 09-14-2008 11:00 AM
ASP.NET Memory Issues - High Memory Usage with AjaxPro TPC General Questions 0 09-13-2008 04:40 PM
ASP.NET Memory Issues - High Memory Usage with AjaxPro TPC General Questions 0 09-13-2008 04:40 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 07:09 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0