Power Mac Applications Require Less RAM with Virtual Memory

Last reviewed: February 5, 1998
Article ID: Q127084
The information in this article applies to:
  • Apple Macintosh and Power Macintosh computers
  • Apple Macintosh System Software, versions 7.1.2, 7.5.x, 7.6, 8.0

SUMMARY

Applications designed to run on the Power Macintosh require less RAM when Virtual Memory is turned on. These same applications will use more RAM when Virtual Memory is turned off.

MORE INFORMATION

Applications written for 680x0-based machines store their code segments in resources within the resource fork. This segmentation of code allows the Macintosh to only load the needed parts of the application at any one time. This uses much less RAM than trying to load the whole application into memory.

Applications designed to run on the Power Mac store their code segments in the data fork. By default, the Power Mac loads the entire contents of the data fork into memory, where it is parsed into segments and used as needed.

When you enable virtual memory on the Power Mac, the memory manager gets "smarter" and it treats the information in the data fork similar to the way it would treat information in the resource fork. Specifically, code is loaded from the disk as it's needed. Therefore, an application built to run on the Power Mac will use less RAM when virtual memory is enabled.

For more information, please see the following article in the Microsoft Knowledgebase:

ARTICLE-ID: Q120506

TITLE:      How Virtual Memory Works on a Power Macintosh


Additional query words: FAT ResEdit Page Size 6.00 power macintosh PPC
Keywords : kbfaq
Platform : MACINTOSH


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: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.