Out of Memory Exception

hi,

I am getting out of memory exeption when i am loading image(muttable image). To create that image 25kb of code should run. Here i want to load 25 different images within the for loop. In Emulator it is loading all but in mobile device 6030 loading only 12 images.

So i used garbage collector and make null values for unnessary objects, after that 14 images are loading

can any one help me is there any technique to memory porting

[459 byte] By [kishore.keerthia] at [2007-11-27 0:13:03]
# 1
what is your code to load all the images?
suparenoa at 2007-7-11 21:56:14 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
the code concept ispublic Image returnImage(){// create a muttable image//create a character array // drawingan image using that character array return image;}To create this image 2500 lines of code should run
kishore.keerthia at 2007-7-11 21:56:14 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
the exception occurs on emulator?check out this for the images treatement http://developers.sun.com/techtopics/mobility/reference/techart/design_guidelines/image_resizing.html
suparenoa at 2007-7-11 21:56:14 > top of Java-index,Java Mobility Forums,Java ME Technologies...