11-12-2009 01:52 AM
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
11-20-2009 12:37 AM
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.