BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-18-2009, 07:39 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100
PIN: N/A
Carrier: Sprint
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default I/O Error: output file: CS40-1.cod code section too large: 125700 bytes.

Please Login to Remove!

Hi all,

We are porting a J2ME application to black berry,when we tried to create .cod file using RAPC compiler we got following error.

" I/O Error: output file: CS40-1.cod code section too large: 125700 bytes."

We checked few threads but it doesn't helped out.
I/O Error: binary resource too large


Can any one help us to come out of this????

Note:
1) We have a class file of 42300 lines and 600 variables declared in it.
2) We created different class file and shifted 250 variables from the above class to avoid the following error:
"CSCanvas: Error!: Field offset too large for: m_nCPListCount"

CSCanvas: Error!: Field offset too large for: m_nCPListCount


regards,
ajj
Offline  
Old 03-18-2009, 11:53 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

You are going to have to refactor that big class.

You can have only 64K code and 64K data in a single COD file.
Offline  
Old 03-19-2009, 10:32 PM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100
PIN: N/A
Carrier: Sprint
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Dougsg38p,

Thanks for the quick reply.

regards,
ajj
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Comfort Products 60-5800T Commodore II Oversize Leather Chair with Adjustable...
$219.39
Comfort Products 60-5800T Commodore II Oversize Leather Chair with Adjustable... pictureCommodore II Oversize Leather Executive Chair, Black
$251.57
Commodore II Oversize Leather Executive Chair, Black picture 60-5800t commodore ii oversize leather chair with adjustable headrest, black
$230.94
 60-5800t commodore ii oversize leather chair with adjustable headrest, black pictureDDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED
$676.88
DDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED pictureReconditioned Windsor Commodore 20 Carpet Extractor
$3025.0
Reconditioned Windsor Commodore 20 Carpet Extractor picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.