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.