i am developing one application related to graphics, in this application i am using lots of images and drawing on it.and all activities are running until my flow does not get completed.so what should i do for assign large heap size to run smoothly my application. Or any other way to run application smoothly .. i have no idea about memory management right now . i am using only BitmapDrawable to display images and also system.gc() to garbage collection . also use this
Runtime.getRuntime().runFinalizersOnExit(true); Runtime.getRuntime().gc(); Runtime.getRuntime().freeMemory(); can anybody help me .. thanx in advance