Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

A random out of memory error

I cant give you my whole application, and neither u have to sit it down and read it.But what could it be for?

At times I am able to reproduce it at same place.But caNT FIGURE IT OUT WHY.

 

 

I am wondering if it could be from the fact I store alot of info in my application.I have vectors, where I store all data with itc pictures.So that If I brought them first time, I dont the 2nd time. This could slow my application? this could cause out of memory error?

 

also when i do  popscreen, data i brought in tht page is all cleared right?

 

Developer
Posts: 813
Registered: ‎05-29-2012
My Device: see later
My Carrier: see later

Re: A random out of memory error

btw I am getting an error right now when I open my simulator

jvm could not load .cod - file system is full

I uninstalled simulator, reinstalled... i still get same error... even if i try open new application not old one..

I am using http://us.blackberry.com/sites/developers/resources/simulators.html porsche design 7.0
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: A random out of memory error

Try removing the three *.dmp files in the simulator directory, then restart. The simulated flash memory is here.

 

If you are used to iOS or Android development (or desktop development, for that matter), then you are going to find the memory restrictions on the Blackberry fairly limiting. A large number of images will quickly eat up the avavailable flash.