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

Extron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface
$34.99
Extron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface pictureComputer Boards Inc. CIO-DAS1600/12 Analog and Digital I/O Board
$39.0
Computer Boards Inc. CIO-DAS1600/12 Analog and Digital I/O Board pictureMeasurement Computing USB-1208FS Analog Channel
$99.99
Measurement Computing USB-1208FS Analog Channel pictureExtron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box**
$125.0
Extron RGB192 (VGA) 60-486-01 Analog Computer-Video Interface **NEW In Box** pictureCIO-DAS08 Analog Input Board Computer Boards
$35.0
CIO-DAS08 Analog Input Board Computer Boards picture






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