History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22685
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anna Kozlova
Reporter: Brian Slesinsky
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

javac OutOfMemoryError when compiling in IDEA 6 sandbox when launched from IDEA 7

Created: 28 Sep 07 02:47   Updated: 06 Mar 08 11:56
Component/s: Plugin Support. DevKit
Fix Version/s: Selena 7.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux

Build: 7,126
Fixed in build: 7,365
Severity: Medium


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
Brant - 06 Mar 08 11:56
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.