The amount of shared memory which D3 requires for FlashBASIC operations can be modified by changing the BASIC statement value in the D3 configuration file. BASIC shared memory is required only when applications are compiled with FlashBASIC. If FlashBASIC is not used, then the BASIC value is zero and this step may be omitted. The maximum size is 256 MB.
We recommend that you set to 0 because:
Memory is generally no longer a restriction on a machine and this was a way to make better use of the available memory.
The FlashBASIC code will run in local space to the process which means that replacing cached object code is simpler. In addition, if there was an issue, it would only affect that process, whereas if there was an issue with the shared memory, it could affect all D3 processes running FlashBASIC code.
The calculation to determine the amount of required shared memory for FlashBASIC is:
BASIC = (Active FlashBASIC program size * 1.2 KB)
where an Active FlashBASIC program size is the amount of memory (in KB) used to hold all the Active FlashBASIC programs in memory at once. The definition of active here means only the programs running at the same time.
Complete these steps to determine Active FlashBASIC program size.