Discussion Locked

Memory management

0 helpful
21 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
On a PII 350MHz, machine with 64 MB RAM, what would be the best way to optimize memory. Should I let Windows manage my virtual memory or should I set values. My only problem is that if I set values, what should I set the virtual memory settings to?? The reason I ask is because I have a client who is working with a spreadsheet on a machine like above, and she keeps getting the "Not Enough Memory" error message. Obviously a simple solution is to add more memory, but I unfortunately do not have control over that in the company that I work for. Ideas???

21 replies

by pat.schmid

The rule of thumb we've used to configure or computers is set Intial Size to 2X the installed RAM and set Maximum Size to 2X the Intial Size.

by tk421

Someone else on this site referred me to a program called Memturbo. It's a great program that monitors your available memory and will clean up memory leaks and unused resources that are loaded into memory when your resources dip down to a low level.I'd try this first and see if it helps you like it helped me.

http://www.memturbo.com/downloads.htm

Good luck!
tim

by aubhall

I would take all of the above answers into account and add the following.If using win98 think of using the msconfig util start>run>msconfig>ok to free up memory by diabling the "load starup group items".
If win95 try powersetting from www.silents.dk
a shareware version avalible for download that does the same as msconfig.

by mcse lee

When you/she gets the Out of Memory message, do a Ctrl/Alt/Del and see what else is open. Look for programs that shouldn't be there (WINWORD when Word is not open, etc.). There is a known problem with Office programs not closing out completely, which leads to this error message. I don't remember the exact KB article number, but you can get more detail on the MS Website.

by gregc

Check the free disk space on the drive where the swap file is located. My guessis it is low on disk space. The virtual memory config is limited to free disk space. Check the root of the c: drive for files you can move or delete. Also delete alltemp files and defrag the drive. Virtual memory is slower than real memory. Put the swap file on the drive with the most space. Hope this helps.

Greg

by Former member

To explain what to do, we should first start by explaining how Windows manages the memory. The amount of mem in your PC is what windows has at its disposal for information. To allow it to use more information, it creates a file on one of your hard drives. It then takes all the info you need (ie files, running programs, etc) and splits it into smaller pieces. The pieces it needs to use, it holds in memory and stores the rest on the drive swapping them around as needed. The amount of drive space is what you are adjusting when playing with your memory management. By default, if windows is managing it, it will use the drive with the most free space and adjust as needed. The only time you should play with it is if you have little disk space andwant to limit the amount of drive you want dedicated to memory paging. This does not appear to be your problem as the spreadsheet requires more mem. For this reason, I recommend you leave these settings alone and concentrate on limitting memory utilized by system tray i

by dmach

Well adding more memory is the best thing, but you have no control over that. Now, let windows manage your vitual memory management and also try to uninstall some of the feature sitting under the system tray at the right bottom corner. That will free the system resource memory.

by robin.deville

Maybe you could use the program freemem professional.It helps you enhance the performance of your PC by freeing up physical RAM.

by cdasilva

If it thrashs the hard drive forever then bombs out, it's probably Virtual Memory. If so, look at the speadsheet on a poweruser computer and see what's going on. Is it a huge sheet? Are there VB scripts happening or are multiple instances of an ebedded graphic being called? If it's just a big sheet, bump the Virtual Memory to 128/128 (make sure the hard disk has plenty of room and is defragged and scandisked) and keep upping it till it loads. then tell her to but more ram.

BTW the rule of thumb (ram X 2) seems wacky to me. If I have 512 MB ram you would think I need 0 Virtual Memory, not 1 GB.

If it just bombs right away with no thrashing, it's memory allocation problem.
Disable as many programs from starting automatically as you can. If win98, use msconfig.exe. Reboot fresh. Do ctrl-alt-del and shut down everything except Explorer. If it then loads ok, you either have a corrupt spreadsheet installation or too many apps running.

by hungry cat

It is recommended to manualy set initial size for Virtual Memory 2x of Physical. The maximum calculated from your needs, generally 2x from initial size. But don't move sawp on same physical HDD with system in other partition. Best of all is a separate HDD for swapping ;-), at least non-system HDD. Suches optimizations priovide Norton Utilites, Optimization wizard. I recommend you to optimize your cashe algorythms too, check "casheman v3.80" (freeware) program, good for many purposes like cashing optimizations. Run & programs to learn more about your question (standart programs from Win 98 installation), maybe lot of applicaionts are loaded at startup

This discussion is closed to new replies.