Bug? error: code too large only in "Release (obfuscated)"

Alessandro71

Well-Known Member
Licensed User
Longtime User
I have a code module with only a Process_Globals containing all the project strings, declared as Public Const
It's a 70KB file, where the actual strings data accounts for about 15KB
Is there any solution other than splitting the code module in multiple files?
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
You are hitting a limitation of the Java compiler.
one observation and one question:
the error does not show up if obfuscation is not selected, but still the data size is the same.
is this a module-level limit or a project-level limit?
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
Answering my own question: splitting the code module in 2 modules solved the issue.
Moving to an external file wasn’t easily applicable
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…