I'm trying to figure out if our ancient applicatio...
# lucee
j
I'm trying to figure out if our ancient application will run on Lucee but getting this error on one of our reports. File has about 3500 lines in it.
Copy code
There is too much code inside the template [summary.cfm], Lucee was not able to break it into pieces, move parts of your code to an include or an external component/function
Is there a setting I can override in Lucee to temporarily work around this error? At this point I'm just trying to get as much of this working as I can and identify areas where we need to go back and fix issues and /or refactor without spending time actually refactoring :)
b
@Jim Priest There's no setting for this. It's a hard limit of java's bytecode limits and the amount of CFML code that == too much bytecode can differ from engine to engine based on how they generate bytecode
The solution is just to move chunks into a cfinclude to help Lucee
3
I don't know how it's inbuilt attempts to break up the bytecode work, but I assume it's simplistic and probably doesn't work well if the entire page is wrapped in an if statement, for example
j
@bdw429s Thanks for the info!