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?
You are hitting a limitation of the Java compiler.
The reason that it happens is that you are doing something wrong and it is to put large chunks of data in your code. You should instead use a file for this. You can encrypt it to make it obfuscated. This is the best solution.
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?