We have a fairly large Java codebase (roughly 20 K classes) that we are in the process of moving to Java 7. With a compiler heap size of 1 GB the project Ant script builds this system in 7 minutes using the 32-bit compiler. Attempting to compile from IDEA using the 32-bit javac with 1 GB, the build fails after over 40 minutes with an out-of-memory exception.
Various searches have turned up no way to run IDEA 13 with a 64-bit compiler process and, of course, attempting to allocate more than 1 GB to the 32-bit compiler fails. Is there a way to cause IDEA to use the 64-bit compiler? I realize that this will likely require an even larger heap allocation, but I would like to try it.