BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-18-2009, 07:39 AM   #1
ajj_dev@yahoo.com
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100
PIN: N/A
Carrier: Sprint
Posts: 31
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.
http://www.blackberryforums.com/deve...too-large.html


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"

http://www.blackberryforums.com/deve...listcount.html


regards,
ajj
Offline  
Old 03-18-2009, 11:53 AM   #2
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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
ajj_dev@yahoo.com
Knows Where the Search Button Is
 
Join Date: May 2008
Model: 7100
PIN: N/A
Carrier: Sprint
Posts: 31
Default

Hi Dougsg38p,

Thanks for the quick reply.

regards,
ajj
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Measurement Computing 197728B USB 1608HS-2A0 16-Channel Digital DAQ +2 Analog picture

Measurement Computing 197728B USB 1608HS-2A0 16-Channel Digital DAQ +2 Analog

$422.50



1PC × PR ELECTRONIC 2211 ANALOG CALCULATOR PR2211EC2A2 Ser.No. 885175 picture

1PC × PR ELECTRONIC 2211 ANALOG CALCULATOR PR2211EC2A2 Ser.No. 885175

$85.00



HealthKit 4802 Computer Oscilloscope Heath Computer Systems picture

HealthKit 4802 Computer Oscilloscope Heath Computer Systems

$149.99



Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal picture

Schneider PLC TWIDO TM2AMM6HT ANALOGUE I/O MODULE 20mA 24VDC Missing Terminal

$156.00



computer board picture

computer board

$1250.00



New PCI-MIO-16E-4 Data Acquisition Card With 16 Analog Input Channels for NI picture

New PCI-MIO-16E-4 Data Acquisition Card With 16 Analog Input Channels for NI

$311.00







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