Compile big java file with IDEA 9
Hi, does anyone know if IDEA compiles big java files like more than 100k lines (about 1.8M size)...
We have such a big legacy class and it deems IDEA does not compile it and all classes referring to this class won't work...
please suggest if there is such configration item ...
thanks ...
Please sign in to leave a comment.
Just curious but there is a Java method size limit of 64k or thereabouts if memory serves me right. I wonder if you are hitting that...
Re-factor that class! It's either that, or your whole team must consider delivering pizzas for a living. There is no reason on Earth why such monstrosity should ever be tolerated. No excuses.
Increasing compiler heap limit should help
On 15.01.2010 16:55, MengJun Jiang wrote:
>
>
>
>
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"