Guardian Programmer's Guide

Table Of Contents
Managing Memory
Guardian Programmer’s Guide 421922-014
17 - 8
Managing the Native User Data Areas
Note that the heap grows from lower to higher addresses, while the main and priv
stacks grow from higher to lower addresses.
Also on both platforms, the heap can grow to the maximum size of the globals-heap
segment less the size of the global data. On the TNS/R platform, the maximum
Figure 17-3. Data Segments for TNS/R Native Processes
VST144.vsd
Global-
Heap
Segment
Address%h08000000
Address%h6CB00000
Direction of growth
Address
%h60000000
Global Variables
Heap (C, C++ programs)
Area used for flat segments and
growth of heap and main stack
Alt PFS
Priv Stack
Public DLL Data
PFS
Data Stack
Address
%h70000000
Direction of growth