Saving Memory with TSRs and Windows 3.0

Last reviewed: November 23, 1994
Article ID: Q68167
The information in this article applies to:
  • Microsoft Windows operating system versions 3.0, 3.0a

SUMMARY

You may experience problems running Microsoft Windows version 3.0 when conventional memory or environment space is low. One way to save memory is to avoid the use of TSR (terminate-and-stay-resident) programs. If this is not possible, you can still save memory by invoking TSRs from the CONFIG.SYS file (when possible) or at the BEGINNING of the AUTOEXEC.BAT file.

MORE INFORMATION

Each program loaded into memory gets a copy of the environment (the PATH, PROMPT, and other variables that you set). The more programs loaded in this manner, the more conventional memory used. If TSRs are loaded before setting any environmental variables, the memory used by the TSR is reduced by the amount of space usually taken by the environment string. This memory is rounded to the nearest 16 bytes.

NOTE: If the PATH is set after TSRs are loaded, full path names must be used.

REFERENCES

"Microsoft Windows User's Guide", version 3.00, pages 442-443 and pages 515-519


KBCategory: kbother
KBSubcategory: win30
Additional reference words: 3.00 win30 3.00a


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.