| Reply | « Previous Thread | Next Thread » |
|
Hello everyone,
I have one application with 1) lots of forms 2) each form having some kind of RMS operation so here i have problem with memory usage. In nokia it shows OutOfMemoryError while using. can anyone suggest some good design strategy for improving this application, because i have so many forms and each with average 10 textfields and 5 chechboxes, so maintaining these objects is really very hard,but i have adapted following convention. 1) no System.out.println 2) all possible objects public static final. if you have any other suggestions please let me know so at least i can run the application with average performance. |
| sandeepsandeep |
| View Public Profile |
| Find all posts by sandeepsandeep |
|
Quote:
But as you description of the application is quite vague and also saying that the MIDlet shows out of memory error while using is not very descriptive (does that mean immediately at app start, or something else) it is hard to say if changing that approach would change anything. Hartti |
|
thanks for reply
it shows out of memory while doing big operation on RMS.or some processing.it doesn't give any error at starting application. only when we do any time consuming (especially RMS related work). may i use the approach mentioned below. 1) not to make any objects until they are necessary 2) when component is being displayed only that period of time keep objects in memory(not before not after), in all other cases keep it null for gc(after using that component). Regards, Sandeep |
| sandeepsandeep |
| View Public Profile |
| Find all posts by sandeepsandeep |
|
How much data are we talking about? where does the data come from?
Which phone models are you testing this on? Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problems with a signed application | Alfury | Mobile Java Networking & Messaging & Security | 7 | 2008-03-27 06:15 |
| downloading a java application with a 9 kb from wap displays file too large | kareem_sami_uae | Mobile Java General | 2 | 2007-06-04 11:45 |
| 3250: Too many SMSs received crash the application | kewldeep | Mobile Java General | 4 | 2007-01-27 01:00 |
| Not able to deploy an updated application on the mobile -it deploys a new application | kishban | Mobile Java General | 0 | 2005-05-28 11:20 |
| Optimizing J2ME application size | jnassif | Mobile Java General | 2 | 2002-05-17 10:48 |