The size of the executable code is not included in the value of total logical memory or max memory calculations. total logical memory reports the actual memory requirement for Adaptive Server configuration, excluding any memory required for the executable.
The memory required for the executable is managed by the operating system and is beyond the control of Adaptive Server. Consult your operating system documentation for more details.