“Virtual Memory” errors in Win2K Pro [virtual memory errors] [service pack 3]

admin / June 8th, 2011/ Posted in Operating Systems / No Comments »

Q: A handful of my clients computers are always at startup. They are win2k pro systems. 256MB RAM, default page size. I tried increasing the page file to another 256 MB and max and min for defragmenting but Im still the errors. They are currently using . They are depicted with the same images as many other workstations using the same software, or hardware that do not have these issues. What gives? Thank you.


Re:sometimes when the OS crash it is possible that he loses the path of the swap file.

After that error confirm that the swap file is pointing to the correct location.

The most probably situation here, is you add a second disk or change the existing volumes.


Re:Go to Administrative Tools and select Local Policies.

In the window that appears, navigate the list on the left to Local Policies -> Security Options.

On the right, about 10 lines down, there should be a policy that says "Clear virtual memory pagefile when system shuts down", enable this setting. You may need to reboot for the setting to be 'registered' and then reboot again for it to clear the pagefile (if you see what I mean).

Like i said before, depending on how big the pagefile is, this can add a bit of time to the shutdown process. There might not be any hard drive acitivity and it may look like windows has frozen (except you'll be able to move the mouse), but it will get there eventually.

Hope that helps.


Re:thanks for the suggestion. I'll give it a shot. yeah i'd appreciate it, if you could tell me what the name of the policy was. Thanks!

Re:Apologies if this has already been mentioned, havent read every post.

Have you tried clearing the pagefile? This can be done by enabling a group policy setting. It clears the pagefile every time the machine restarts/shutsdown (obviously making the process take a bit longer, but not much especially on faster machines). If you want i'll post how to do it. You can set it directly in the registry without going through group policies but i cant remember how to do this.


Re:this is happening within 5 to 10 seconds of bootup. the only applications that are loading on bootup are virusscan corporate 7.0 and a built in compaq/hp keyboard utility and mouse utility

Re:It's gotta be an application common to all of them.

Re:All workstations have 256mb ram.
I know for a fact they are not getting blue screen errors before this happens.
Not much is loading at startup. Nothing abnormal. Memory usage is around 100mb when they get the error.

Re:At least that explains why NT2kXP won't let you move the swap file while it's running.

I think the real reason you can't do that is because Windows has no mechanism to shrink the pagefile, so it can't remove a pagefile without a reboot.


Re:I'm too lazy and apathetic to follow up on your apathy. So I'll assume you're right. At least that explains why NT2kXP won't let you move the swap file while it's running.

Re:Originally posted by: guy
Yeah I misread a page describing new features in savedump. At any rate, considering the pagefile is still part of the file system, why is that any safer? Does it just depend on the swap file's location being known no matter what?

I believe that is exactly the case. I think I read something to that effect in a column written by Mark Russinovich. Search on www.sysinternals.com if you'd like to follow up on it. (I'm too lazy and apathetic right now to do it myself.)


Re:Yeah I misread a page describing new features in savedump. At any rate, considering the pagefile is still part of the file system, why is that any safer? Does it just depend on the swap file's location being known no matter what?

Re:Originally posted by: guy
WinXP saves the memory dump directly to a file…why would 2k save it to the pagefile?

I just looked it up. Savedump.exe is used manually to extract a minidump file from a full memory dump file. Win2k does create the memory dump file directly, not copying out of the page file.

WinXP does not write it directly to the dump file. WinXP behaves the same as all other flavors of NT in this regard.

Savedump.exe is called by winlogon.exe at system startup to check for the presence of a dump file in the pagefile and to copy it out.


Re:Well nobody ever said Microsoft was smart. :-)

Re:WinXP saves the memory dump directly to a file…why would 2k save it to the pagefile?

Personally I think both are dumb, if the system BSODs it's in an uknown state and writing to any filesystem can cause corruption, that's the reason when a unix kernel panics it doesn't flush any filesystem buffers and if it does write a crash dump it's written to a swap partition.


Re:WinXP saves the memory dump directly to a file…why would 2k save it to the pagefile?

I just looked it up. Savedump.exe is used manually to extract a minidump file from a full memory dump file. Win2k does create the memory dump file directly, not copying out of the page file.


Re:Even when saving a full dump I've never seen that error, by the time the VM system tries to use the pagefile it should be freed.

Re:Originally posted by: guy
it is saying that the computer is out of virtual memory, windows is now increasing the size of your pagefile. some applications may not function properly.

it happens soon after login.

It could be that the system is recovering from a blue screen error.

When W2K encounters a blue screen, it writes a dump to the page file. When rebooted, savedump.exe copies the dump from the pagefile to memory.dmp. When savedump is finished, the space in the pagefile is freed again.

This would be considered normal after a bluescreen and isn't worth worrying about.


Re:See what's loading on startup. You said you added 256MB for the min and max, but what does that put them at total?

Re:it is saying that the computer is out of virtual memory, windows is now increasing the size of your pagefile. some applications may not function properly.

it happens soon after login.


Re:The actual error message might be helpful.

Related posts


Tags: ,

Leave a Reply

Name required

Mail (will not be published) required

Website