Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » Developing UltraLite Applications for Symbian OS » Introduction to Symbian OS development

Choosing how to link the runtime library Next Page

Memory utilization in Symbian OS applications

The UltraLite runtime can use a significant amount of memory for stack and heap storage. The UltraLite database application on Symbian OS should specify a larger stack size and heap size than the default setting. Both specifications can be changed in the Symbian project (mmp) file. The syntax of the specifications for the Symbian project file is described in the Symbian SDK documentation: Tools And Utilities > Build tools reference > mmp file syntax.

Use the epocstacksize statement to specify a stack size for your executable. The default size is 8 KB.

Use the epocheapsize statement to specify the minimum and maximum sizes of the initial heap for a process. The default sizes are 4 KB minimum and 1 MB maximum.