07-20-2009 03:27 PM
Hello, When I compile my application using the BlackBerry JDE, I get the following error:
I/O Error: output file: application.cod data section too large
I get the error when using the JDE v4.2.1 or JDE v4.3. It works fine for v4.6 or above.
I have another forum post regarding this issue here.
I have also read the following KB article here.
Based on the above I tried to split all the classes in my application but that does not seem to work. At the best case it compiles for a while and the problem comes back as I add more lines of code.
I was wondering if anyone has been able to solve the issue another way. Or if anyone knows the actual reason behind this issue?
Any help will be appreciated.
Thanks!
Solved! Go to Solution.
07-21-2009 02:59 PM
07-21-2009 03:55 PM
Hey, I have one main class and one library that contains most of my image resources and rrc/rrh files.
I will try to split into more libraries and see if that helps.
Thanks.
07-22-2009 01:53 AM
Try to make several small libraries.
09-20-2009 02:32 PM
I finally managed to fix this issue, here is the solution:
The issue occurs when the RAPC compiler is not able to properly account for one of the data resources. The RAPC compiler tries to package the data sections to a defauly max size of 61440 bytes. You can use the RAPC option "-datafull=N" where N is the max size of the data section, and set the size to be something less than the default value. With some experimentation on the size you will be able to bypass the issue.
If anyone else if having this issue you can use the same trick to resolve it!
11-25-2009 07:00 AM
Hi,
I am facing the same problem. I am using JDE 4.7. How to that rapc value??Can you guide me?
11-28-2012 02:27 AM
Hi Rahul,
Will you please explain how to change the RAPC option. I am also facing this problem.