I'm developing a mobile application in J2ME. Here I'm facing memory problem. I'm facing out of memory error. So please give the ideas of how it get rid out of this kind of error/exception, garbage collection, memory management in J2ME.
I had one doubt what is the effect System.gc()
in the J2ME.
What is the difference between System.gc()
and Runtime.getRuntime().gc()
in J2ME/Java.
Thanks & Regards,