maikelm
maikelm

Reputation: 403

how to exceeds 64K limit using jaggery

I am using jaggery. I have a page very big (HTML and jaggery) and I receive:

Generated bytecode for method exceeds 64K limit

I need know if exist any way to pass this restriction.

Upvotes: 0

Views: 862

Answers (1)

Rasika Perera Govinnage
Rasika Perera Govinnage

Reputation: 2254

This is due to a limitation on the Rhino Engine. Jaggery uses Rhino to compile Js files into Java bytecodes. On the latest Jaggery this should be solved.

As an alternative you could try separating your single file into multiple files and use require keyword to import.

Upvotes: 2

Related Questions