Method code too large

@ai_test,

In the <project folder>\Libs folder, I suppose you will find a file named TempTestxxxxxxxxxx.groovy of which size is VERY LARGE (for example 1 mega bytes). For example, in my project on my PC I can see the following:

If you can find a giant *.groovy file, then the file is probably the cause of the Runtime Exception with “Method code too large!” message. The groovy script file is so large that Groovy compiler is unable to compile it.

Please check your project’s Libs folder to see if you find a large file or not.

1 Like