Documentation Recommends Removing/Reducing Virtual Memory

ID: Q115182

The information in this article applies to:

SUMMARY

The FoxPro for Windows and FoxPro for Macintosh configuration manuals incorrectly recommend removing virtual memory if your system has more than 4 megabytes (MB) of random access memory (RAM). Furthermore, the FoxPro for Windows configuration manual incorrectly recommends creating a 2-MB swap file if your system has 4 MB of RAM.

Following these recommendations may prevent your system from running FoxPro or other applications due to insufficient memory.

In general, it is best to have as much virtual memory as required to run all of your applications, provided you have sufficient hard disk space to support that amount of virtual memory.

MORE INFORMATION

Virtual memory is free disk space that is used to simulate additional memory. When the system runs low on available physical RAM, it uses an algorithm to swap code and data from physical RAM to the hard disk.

The benefit of virtual memory support is that you can run more programs than can be supported by actual physical RAM. The drawbacks are the disk space requirement for the virtual memory swap file and a decrease in overall execution speed when swapping is required. However, it's generally better to be able to run a program slowly in a virtual memory system than not to be able to run it at all.

NOTE: Simply enabling virtual memory does not degrade system performance. Code and data are not swapped to the hard disk unless there is insufficient physical RAM.

For more information about using virtual memory and swap files in Windows, query on the following words in the Windows section of the Microsoft Knowledge Base:

   windows and swap and file and virtual and memory

NOTE: In the FoxPro for Windows "Installation and Configuration" manual, the note at the bottom of page 3-3 says:

   If you do need a swap file, make sure you create a permanent swap
   file rather than a temporary swap file.

This information is true for performance reasons only. However, if you need virtual memory but cannot use a permanent swap file because of system- compatibility problems or a lack of hard-disk space, you can use a temporary swap file instead.

Locations of Documentation Errors

Additional reference words: FoxMac FoxWin 2.50 2.50a 2.50b 2.50c 2.60 docerr KBCategory: kbenv kbprg kbdocerr KBSubcategory: FxenvMemory

Last Reviewed: June 27, 1995