If I get the user panic "malloc failed", what should I do?

This usually means that you have run out of memory and the amount of memory allocated for the heap needs to be increased. The default heap size in a MoSync program is only 16k. To change this setting, right-click on your project in the Project Explorer view and select Properties > MoSync Project > Build Settings > Compiler Flags. There you can (carefully!) change the memory settings. For more information, see Build Configurations in our documentation.


Share on Facebook