Search code examples
java-mej2mepolish

How do I solve "The Application has unexpectedly quit because it ran out of memory" error in J2ME


I am new to J2ME. I was writing a simple program to request user for their name. I am however getting The Application has unexpectedly quit because it ran out of memory.

enter image description here

How do I solve this?


Solution

  • I solved it by creating a new project and pasting my MIDlets in the new project.