Originally Posted by Massif
I just got a similar problem on another project. This time the error is:
I/O Error: output file: MyProjectBlackBerry-1.cod code section too large: 68752 bytes.
Does this mean there's too much code? Or is it just too much code in one file/class? Can I break it up?
There's about 14000 lines (I didn't write it, I'm just porting it to BlackBerry).
Let the compiler limit the size of the generated cod files.
You do this by adding the following to the compiler commad: -vtablefull = size; where size could be 20000 for example. It has to be less than 64k.
So your command will start like this:
C:\Program Files\Research In Motion\BlackBerry JDE 4.0\bin\rapc.exe" -vtablefull=20000 ...etc