Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001986 [Resin] major always 09-01-07 02:49 09-04-07 08:56
Reporter chris_se View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.2
Summary 0001986: java.lang.OutOfMemoryError while compiling Resin on a 64 bit machine
Description I'm using Gentoo as a Linux distribution an when I try to install Resin 3.1.2 on a 64 bit machine, the compilation fails with the following error message:

    [javac] Compiling 3312 source files to /var/tmp/portage/www-servers/resin-3.1.2/work/resin-3.1.2/modules/resin/classes
    [javac] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    [javac] at com.sun.tools.javac.main.Main.resourceMessage(Main.java:649)
    [javac] at com.sun.tools.javac.main.Main.compile(Main.java:601)
    [javac] at com.sun.tools.javac.main.Main.compile(Main.java:544)
    [javac] at com.sun.tools.javac.Main.compile(Main.java:67)
    [javac] at com.sun.tools.javac.Main.main(Main.java:52)

On a 32 bit machine this somehow doesn't happen.

On both machines, I'm using a Sun JDK 1.5.0_12.

Since Gentoo does not change the Java source files, this isn't a Gentoo-specific problem.

To solve the problem, I exchanged the entry

   <property name="javac.memoryMaximumSize" value="256m"/>

in the build.xml with

   <property name="javac.memoryMaximumSize" value="512m"/>

If I do that, Resin compiles and works fine.
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-01-07 02:49 chris_se New Issue
09-04-07 08:56 ferg Assigned To  => ferg
09-04-07 08:56 ferg Status new => closed
09-04-07 08:56 ferg Resolution open => fixed
09-04-07 08:56 ferg Fixed in Version  => 3.1.3


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker