Open topic with navigation
Configuring Default Memory Allocation Behavior
You can configure RTX's default memory allocation behavior to use local
memory or to request memory from Windows. Local memory is a memory pool
that RTX can be configured to fulfill RTSS application memory
requests. RTSS applications that allocate memory from the local pool don't
have to initiate a Service Request Interrupt (SRI) to request memory from
Windows. The local memory pool is created when the first RTSS application
starts. It provides deterministic behavior for normally non-deterministic
functions, as well as greater flexibility and functionality after a system
crash (blue screen).
To configure memory allocation settings:
- Open RTX
Properties in Control Panel and click the Memory
tab.
- Select an option to configure default memory allocation
behavior:
- Request from
local memory pool configures all RTSS applications to request memory
from the RTX local memory pool by default. RTX
will create the local memory pool the first time an RTSS application is
run.
- Request from
Windows configures all RTSS applications to request memory from Windows
by default. RTX creates the local memory pool the first time someone uses
RTSSrun with the /l flag or the first time they run an RTSS application
that calls RtAllocateLocalMemory.
- Click OK.