Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Encountered code generation error while compiling script: generated bytecode for method exceeds 64K limit. (unnamed script#1) #74

Closed
aramzl opened this Issue · 2 comments

2 participants

aramzl Fabrizio Cannizzo
aramzl

Hi,

I've working with FitNesse und the RestFixture and everything worked fine.
But then I had a json response that is too large, hence the 'exceeds 64K limit', but I haven't found a workaround or solution to the problem. I found a couple of links: http://soa.ulitzer.com/node/659575
but it didn't help much. I would appreciate some explanation and/or solution.

Am I the only person getting this error?

Fabrizio Cannizzo
Owner

Hi - the link you posted clearly explains the problem.
If it's true that

context.setOptimizationLevel(-1);

can fix the problem by avoiding bytecode compilation of JS, it's worth a try.
it will require changes to the RestFixture though.

Fabrizio Cannizzo smartrics closed this
aramzl

I've tried it, and it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.