• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOArchive - code too large
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOArchive - code too large


  • Subject: Re: EOArchive - code too large
  • From: Ian Joyner <email@hidden>
  • Date: Tue, 30 Aug 2005 17:14:31 +1000

On some research, Java methods are limited to 64K of code due to 16 bit addresses for jumps. Workaround is to split the large generated _init method about midway, but this is clobbered everytime a change is made in IB.

There does seem to be a flag 'debug-symbols:on' set for both development AND deployment, which might be making the method longer in bytecode generated, but finding out how to get Xcode to make sure it is off is another matter (doesn't anyone write reference manuals anymore?)

Ian

On 30/08/2005, at 1:39 PM, Ian Joyner wrote:

I have a screen built with Interface Builder which has 11 tab panels. Some tab panels have nested panels (I know it sounds horrendous, but it really is a fairly neat way of collecting the amount of data we have, without multiple screens all over the place).

I just got round to doing another one of the panels, but when I build with Xcode, I get the error "code too large" at the beginning of the _init method in _MyController_EOArchive.java which has been nicely generated by Interface Builder. _init () is about 6,000 lines long, so I assume it's _init (), not the class as a whole giving a problem.

Has anyone struck this before and have any tricks to get around it (java options, etc)?

Thanks
Ian Joyner
Sportstec

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sportstec.com


This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >EOArchive - code too large (From: Ian Joyner <email@hidden>)

  • Prev by Date: EOArchive - code too large
  • Next by Date: Re: value gets nullify [was max string length / textarea form]
  • Previous by thread: EOArchive - code too large
  • Next by thread: Running concurrent Mulithreaded Application
  • Index(es):
    • Date
    • Thread