ADC Home > Reference Library > Technical Q&As > Legacy Documents > Carbon >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Q: Why does the Finder's Get Info window show Memory Requirements numbers for
native applications that are different from the numbers in the A: First, assume that virtual memory is turned off. When launching your application, the Process Manager creates a heap for you of the size:
or, if this is not possible, at least
relocatable block in your application's heap, allocated low in the heap.
Because there is no segmentation, the whole native code has to be loaded at
once in this case, where virtual memory is turned off. And because the Process
Manager can't know how much of the application heap space is needed for data
blocks, it's safest to keep the full size of the application heap. In the Get
Info window, the Finder displays the size as the sum of The Code Fragment
Manager will then load your code into a non-the amount in the In the second case, virtual memory is turned on. Now, the size of your heap
will be determined the same way as on a 68K system, solely from the |
|