Posted by orlandobarrera
on July 7, 2010 at 4:53 PM PDT
Well.. As i already said, im relatively new to CDC and Personal Profile on J2ME..
Im developing a little GIS application that needs to be working with satellite imagery and digital photos that need to be repainted constantly.. This images are usually about 1500x1500 pixels large and above.
My problem is that as im adding more and more code to my application the larger of the image that im able to paint gets reduced.. I mean, a week ago i was able to paint a 2048x2048 image.. right now i cant even paint a 1500x1500 image... the memory size of the image seems irrelevant since the 2048x2048 image is about 400K... while im able to paint a 1000x1000 image that is almost 1M.
Well.. i dont know what my problem is.. I mean could it be a memory leak on my app.. or could it be any kind of limitation on the platform (phoneme advance) itself, or the mobile device im using?. To be honest i dont know im im soing a good job on the performance of my app..
Im thinking on adding the commands -Xms and -Xmx to my app options file to increase the memory heap... but im not sure on how to use this parameters, its limitation over the mobile device and its consequences..
I'll be glad if anyone could be of any help.. Thanks in advance..