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

BlackBerry® World™ Development

Reply
Highlighted
Developer
Posts: 222
Registered: ‎11-11-2009
My Device: Storm

Size limitation for cod files?

Hi,

     i am blackberry app developer. in my project i am trying to add a large file (size of 45MB) and when i try to compile, i am getting the following error,

 

"Fatal Internal error: java.lang.OutOfMemoryError: Java heap space".

 

can anyone tell me the reason. how to solve this problem?

 

whether there is any official size limitation for cod files? if so can you please give me the link to it?

 

thanks in advance

with regards,
Vignesh J

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Don't forget to mark your post as solved if you get the answer and dont forget to give kudos if the answer is useful for you.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
Developer
Posts: 638
Registered: ‎07-02-2009
My Device: Not Specified

Re: Size limitation for cod files?

some where in the forums i had read, there is limitation on the cod file size. it wont be >6MB. (not exactly remebered.)

 

anyway 45MB file in your project is not recomendable. try to read it from the SDcard, and do the things what ever you want.

Thanks and Regards,
PraveenGoparaju.