ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41280] APT Task ignores memoryMaximumSize argument
Date Fri, 31 Oct 2008 10:18:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=41280


Marek Slama <marek.slama@sun.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marek.slama@sun.com
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #3 from Marek Slama <marek.slama@sun.com>  2008-10-31 03:18:49 PST ---
It happens again even with ant 1.7.1 with 64bit JDK 5u16 on Ubuntu Intrepid. I
am not able to say if it is specific to ant package on Ubuntu.
[local]> ant -version
Apache Ant version 1.7.1 compiled on October 3 2008

  <target name="compile-jruby" depends="compile-tasks,
compile-annotation-binder, check-for-optional-packages">
    <!-- Generate binding logic ahead of time -->
    <apt factory="org.jruby.anno.AnnotationBinder"
destdir="${jruby.classes.dir}" debug="true" source="${javac.version}"
target="${javac.version}" deprecation="true" encoding="UTF-8">
      <classpath refid="build.classpath"/>
      <classpath path="${jruby.classes.dir}"/>
      <src path="${src.dir}"/>
      <patternset refid="java.src.pattern"/>
      <compilerarg line="-XDignore.symbol.file=true"/>
    </apt>
  </target>


compile-jruby:
      [apt] Since compiler setting isn't classic or modern,ignoring fork
setting.
      [apt] Compiling 641 source files to
/mnt/local/mslama/netbeans/hg-nbsrc/core-main/o.jruby.distro/unpatched_source/jruby-1.1.4/build/classes/jruby
      [apt] Since compiler setting isn't classic or modern,ignoring fork
setting.
      [apt] warning: Annotation types without processors: [java.lang.Override,
java.lang.SuppressWarnings, java.lang.Deprecated, org.jruby.anno.JRubyConstant,
org.jruby.anno.JRubyModule, java.lang.annotation.Retention,
java.lang.annotation.Target]
      [apt] Problem encountered during annotation processing; 
      [apt] see stacktrace below for more information.
      [apt] java.lang.OutOfMemoryError: Java heap space
      [apt]     at java.io.BufferedWriter.<init>(BufferedWriter.java:87)
      [apt]     at java.io.BufferedWriter.<init>(BufferedWriter.java:70)
      [apt]     at java.io.PrintStream.init(PrintStream.java:83)
      [apt]     at java.io.PrintStream.<init>(PrintStream.java:100)
      [apt]     at java.io.PrintStream.<init>(PrintStream.java:62)
      [apt]     at
org.jruby.anno.AnnotationBinder$AnnotationBindingProcessor$RubyClassVisitor.visitClassDeclaration(AnnotationBinder.java:90)
      [apt]     at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
      [apt]     at
com.sun.mirror.util.DeclarationScanner.visitClassDeclaration(DeclarationScanner.java:110)
      [apt]     at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
      [apt]     at
com.sun.mirror.util.DeclarationScanner.visitClassDeclaration(DeclarationScanner.java:125)
      [apt]     at
com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
      [apt]     at
org.jruby.anno.AnnotationBinder$AnnotationBindingProcessor.process(AnnotationBinder.java:60)
      [apt]     at
com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
      [apt]     at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
      [apt]     at
com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:1075)
      [apt]     at com.sun.tools.apt.main.Main.compile(Main.java:938)
      [apt]     at com.sun.tools.apt.Main.processing(Main.java:95)
      [apt]     at com.sun.tools.apt.Main.process(Main.java:43)
      [apt]     at com.sun.tools.apt.Main.main(Main.java:34)
      [apt] Note: Some input files use unchecked or unsafe operations.
      [apt] Note: Recompile with -Xlint:unchecked for details.

[o.jruby.distro]> java -version
java version "1.5.0_16-rev"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-rev-b09)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_16-rev-b09, mixed mode)
[o.jruby.distro]> javac -version
javac 1.5.0_16-rev


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message