This was related to Java Versions
Main Topics
Browse All TopicsHi Everyone,
I've just created a custom application with the Blackberry JDE 4.2.1 and I am able to run it with no problems in the simulator. However, once I deploy my app over the air, one of the user's states that when he attempts to load the app he recieves an 'Error Loading Module, out of memory'. I think this is related to his hardware but I'm not sure if there is something in my app code that could be optimized for more effecient memory usage. Can anyone shed any light on why someone might get the out of memory error and if it would be related to how the app was developed? Thanks.
zozig
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
This might have happened because you would have assumed applications built using JDE to be backward compatible. This is unfortunately not the case. Applications built using BB JDE are not backward compatible with handhelds corresponding to older JDEs. This essentially means that, e.g. a 7100g BB (corresponds to JDE 4.1) will give an out of memory error(and sometimes crashes) if you try running an application built using the JDE 4.2 on it.
Business Accounts
Answer for Membership
by: jimmackPosted on 2007-09-05 at 16:07:14ID: 19836446
If only one user is having the problem then it could be related to his specific device. However, it would be worth having a closer look at your code to see if there are improvements that you could make.
Specifically, do you initialise a lot of data when the application starts? If so, are there any items that consume significant amounts of memory (eg. splash screens) that could be discarded after startup, before initialising other data?
Do you create any intermediate copies of data and forget to discard it?
Do you initialise all the forms (or other displayable objects) even though you might not necessarily need them all? If so, can you leave their construction until they are actually needed?