Quote:
Not enough memory
That is a clear message telling you that the memory (RAM) is not enough for the application to start.
Now, there are two possible ways to fix this.
1. Increase the RAM for emulator.
2. Decrease the consumption of RAM by the application.
I would love to suggest you the second option, do not increase the RAM because if you do. You can somehow possibly make sure your application runs, but what if a client does not have options to increase their RAM? They would leave the application as soon as they install it.
Try keeping the RAM same but start by cutting short the variable (global ones specifically, and the static ones also). Make sure you are only keeping the variables that are required. If there are bitmaps and graphics objects being used, make sure you cut short them also. Because they are also stored in the memory. Finally, what sort of application is this that needs so much of the RAM?
Are you sure there is no loop that re-creates the objects in the memory? Perhaps a memory-leak is present. This is the only solution. I repeat,
do not fix the problem by increasing the RAM size of your emulator, try fixing the problem with the RAM provided!