My inspection runs out of memory. I want to run it on 64 bit JVM, but only for the inspection build, because another build with coverage (Emma) fails on 64 bits. This means I cannot set env.JAVA_HOME on the agent. Can I change the inspection runner's JDK for the build? I tried setting JAVA_HOME in the environment settings of the inspection build, but that does not work.
I suspect that the answer is not. In this case you need to add this to the feature list.
I would suggest adding user named JDK profiles, with different JVM settings. E.g. Java6.64bit.server.3GB. Then the user can just pick them for any runner of a project.