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

Reply
New Contributor
Posts: 8
Registered: ‎02-17-2010
My Device: 9500
My Carrier: EDGE

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

Hiee m new to blackberry application development.. M using eclipde ide.  I am developing an application which is suppose to play mp4.

but when i import the videos in my app.. i get the above error.. is this coz of the video size which is nearly 76 MB?

Developer
Posts: 16,999
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

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

usually videos and other large files are not included in the application itself.

if you want to provide them on sd card, as a download or for streaming is up to you.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Highlighted
New Contributor
Posts: 8
Registered: ‎02-17-2010
My Device: 9500
My Carrier: EDGE

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

 

Hey thanks for the reply.. Actually the thing is the app should be downloaded to the blackberry first and work offline.. An idea what is the max size allowed for the .cod file or the resources that can be imported?