General discussion

Locked

Virtual Memory fills while idle

By chrisheart ·
I run Windows 98 and if I start the machine, open my mailer and browser and then go away for a while, say an hour, Windows eventually, a bit at a time, transfers ALL of the RAM contents into the virtual memory.
When I then sit down in front of the keyboard, the system is so slow to respond to anything - and it stays that way - that I have to reboot.
I find this irksome to say the least.

How do I fix this errant behaviour ?

Further info:
While my drive C: has over 350MB free, windows will often fill it with over 250MB of swap file ! which then gives me "Your disk C: is running out of space" error and an offer to delete files.
This is obviously directly related to the first problem - a problem with virtual memory.

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Virtual Memory fills while idle

by popeye_doyle In reply to Virtual Memory fills whil ...

Goto Start>Find>Files or Folders...
In the Named: Type NORMAL.DOT
In Look in ensure the C drive is selected
the click on find now. Delete any entries that are listed. Also clear out startup group items:
Start>Run in the open box type MSCONFIG & click OK
underneath startup selection, select selective startup & remove the Tick from 'Load up startup group items' Then click on apply & OK & reboot.

Hope this sorts

Collapse -

Virtual Memory fills while idle

by chrisheart In reply to Virtual Memory fills whil ...

Hi,
I knew about this one and had already deleted it.
Didn't work. ( Good try though.

Collapse -

Virtual Memory fills while idle

by nitemare In reply to Virtual Memory fills whil ...

Hi,

How much RAM does your PC have? If your virtual RAM is filling up, you may have an application memory leak.

Press CTRL-ALT-DEL to bring up the Task Manager, click on Processes and check the Usage Time. If any processes other than System Idle have hogged a lot of cycles, check them out and reinstall them.

Hope this helps,

Collapse -

Virtual Memory fills while idle

by chrisheart In reply to Virtual Memory fills whil ...

Unfortunately, Win98 doesn't have 'processes' in the Task manager. Later versions of wondows do.

I have 256MB RAM.
The only applications open is an email client which has been un-nstalled, purged manually, and re-installed.
Likewise the browser which is the only other application.
Background processes are NOD32 AntiVirus and ZoneAlarm.

I have checked the applications and cannot find any odd behaviour.

Collapse -

Virtual Memory fills while idle

by BobHo In reply to Virtual Memory fills whil ...

Try this (you'll need to edit your system.ini file). Click Start->Run and type in SysEdit. Go to the System.ini file and look for the heading [386enh] and add a line like this:

ConservativeSwapfileUsage=1

Save the changes, close SysEdit and reboot your machine.

I won't go into all the finer points of memory management in Win98 but you can find alot if information on this tweak if you do a search on Google (or your favorite search engine). Here's a link to one of the many sites describing Win98 memory management if you are interested:

http://www.aumha.org/a/memmgmt.htm

Let us know if this helps,

DrBob:&gt

Collapse -

Virtual Memory fills while idle

by chrisheart In reply to Virtual Memory fills whil ...

This didn't seem to work. Still had messages coming up and the swap file was still growing to large values.
I appreciate the attempt though.

Collapse -

Virtual Memory fills while idle

by ballkw In reply to Virtual Memory fills whil ...

Hi,

If you right click on My Computer, click properties, choose the Performance tab,click the Virtual Memory button you will then have a choice of either letting Windows manage virtual memory or setting the parameters yourself (second radio button). By manually settting the virtual memory parameters within the limits of your hard drive space you won't get the 'running out of space'error and your system will stabalize. Hope this helps you out. (-:

Collapse -

Virtual Memory fills while idle

by chrisheart In reply to Virtual Memory fills whil ...

Yep. Already knew that one.
The big problem was it moved =everything= to the swap file and made the system into a slug - a dead one.
Thanks for the suggestion.

Collapse -

Virtual Memory fills while idle

by RCOM In reply to Virtual Memory fills whil ...

Windows will set the virtual memory to about 1.5 to 2 times the amount of ram in the system. So if you have 128MB of ram the virtual memory setting at full capacity will be 256MB. So the 350MB of hard drive space isn't enough for this large of a swap file. Plus you don't have room to install most of the huge software titles that's out today. A 20GB drive is only about $60.00-80.00, I'd get a larger drive. Changing your virtual memory settings could help but may also produce negative results. Here are a few things that can help.

Reboot to a DOS prompt by pressing the F8 key just before the cloud screen appears and select the last choice. Normally the file is located in the windows folder but may be located at the root of the drive. Delete the swap file by typing rither of the following commands.

del c:\windows\win386.swp
del c:\win386.swp

Then reboot, Windows will create a new file.

Here is a batch file you can create to automate deletion of junk files. Save the file as "tempdump.bat" from there just type in tempdump and hit enter. Once complete the DOS prompt will close and return back to windows. Anytime you want to run the batch file simple click START|RUN type in "C:\tempdump" without quotes

Run command,type in "CD\" edit hit enter input the following lines.

@echo off
cd\
DELTREE /y c:\windows\history\*.* > NUL
DELTREE /y c:\windows\tempor~1\*.* > NUL
DELTREE /y c:\windows\temp\*.tmp > NUL
DELTREE /y c:\windows\cookies\*.* > NUL
DELTREE /y c:\windows\applic~1\micros~1\office\recent\*.* > NUL
DELTREE /y c:\windows\ShellIconCache
exit

Collapse -

Virtual Memory fills while idle

by chrisheart In reply to Virtual Memory fills whil ...

This looks like it will be the closest answer to what I was looking for. Why the damned swap file was getting so damned big. Chasing this one along, it seems that windows will set the swap file size when windows is installed so it pays to install it with the minimum memory possible to 'put it into the correct mode' so to speak.

Thanks for that answer. I'm going out to get a BIG SCSI drive asap.

Back to Windows Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums