Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Anna Kozlova
Subsystem
Plugin Support. DevKit
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Brian Slesinsky
    4 years ago (28 Sep 2007 03:47)
  • Updated by   root
    2 years ago (17 Jan 2010 20:53)
  • Jira: IDEADEV-22685
    (history, comments)
 
IDEA-41111 javac OutOfMemoryError when compiling in IDEA 6 sandbox when launched from IDEA 7
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
We're attempting to write a plugin for IDEA 6 while using IDEA 7. IDEA 6 doesn't seem to be launched correctly when running the plugin in a sandbox.

To reproduce:

  • start IDEA 7
  • create a new, empty project for plugin development. For the JDK, choose IDEA 6.0.5 (build 6180).
  • under Run/Debug configurations, create a new configuration for launching IntelliJ in a sandbox with the (empty) plugin. (May need to add '-Xmx512m' under VM Parameters.)
  • launch IDEA 6.0.5 in the sandbox
  • in the sandbox, create a new Java project with one "hello world" Java file
  • select "rebuild project"

Information:Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Information:
 at com.intellij.rt.compiler.JavacRunner.readString(JavacRunner.java:98)
Information:
 at com.intellij.rt.compiler.JavacRunner.readClasspath(JavacRunner.java:87)
Information:
 at com.intellij.rt.compiler.JavacRunner.expandClasspath(JavacRunner.java:78)
Information:
 at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:52)
Information:Compilation completed with 1 error and 0 warnings
Information:1 error
Information:0 warnings
Error:Compiler internal error. Process terminated with exit code 1

Changing the compiler's Maximum Heap Size has no effect. However, I can build in the sandbox if I change the compiler from javac to Eclipse. Also,
javac works using the same sandbox project in an IDEA 7 sandbox.


Environment: Linux

Issue was resolved
Comments (1)
 
History
 
Linked Issues (?)
 
Brant
  Brant
06 Mar 2008 12:56
3 years ago
I get this when I run 7.0.2 with any java application on my mac. I am not able to compile code at all without getting the above error. Changing the Memory settings has no effect.