Have you tried
export MAVEN_OPTS=-Xmx512m
Regards,
Shing Wai Chan
Lloyd L Chambers wrote:
> This is new, started today.
>
>
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [hk2:hk2-compile]
> [INFO] Compiling 660 source files to /v3/code/web/webtier/target/classes
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
> at com.sun.tools.javac.util.Name.fromChars(Name.java:115)
> at com.sun.tools.javac.util.Name.fromString(Name.java:144)
> at com.sun.tools.javac.util.Name$Table.fromString(Name.java:513)
> at
> com.sun.tools.javac.jvm.ClassReader.includeClassFile(ClassReader.java:1694)
>
> at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1758)
> at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
> at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1901)
> at
> com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
> at
> com.sun.tools.javac.jvm.ClassReader.completeOwners(ClassReader.java:1547)
> at
> com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1534)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
> at
> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
> at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:550)
> at
> com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1440)
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1417)
> at
> com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1434)
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1417)
> at com.sun.tools.javac.code.Types.asSuper(Types.java:1407)
> at
> com.sun.tools.javac.code.Types$IsSubTypeFcn.visitClassType(Types.java:429)
>
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at
> com.sun.tools.javac.code.Types$IsSubTypeFcn.isSubType(Types.java:353)
> at com.sun.tools.javac.code.Types.isSubType(Types.java:331)
> at com.sun.tools.javac.code.Types.isSubTypeUnchecked(Types.java:311)
> at com.sun.tools.javac.code.Types.isConvertible(Types.java:278)
> at com.sun.tools.javac.code.Types.isAssignable(Types.java:1630)
> at com.sun.tools.javac.comp.Check.checkType(Check.java:325)
> at
> com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:122)
> at
> com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:705)
>
> at
> com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:39)
>
>
> The system is out of resources.
> Consult the following stack trace for details.
> java.lang.OutOfMemoryError: Java heap space
> at
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99)
>
> at
> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393)
> at java.lang.StringBuilder.append(StringBuilder.java:120)
> at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1756)
> at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
> at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1901)
> at
> com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
> at
> com.sun.tools.javac.jvm.ClassReader.completeOwners(ClassReader.java:1547)
> at
> com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1534)
> at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
> at
> com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:612)
> at com.sun.tools.javac.code.Symbol$ClassSymbol.flags(Symbol.java:550)
> at
> com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1440)
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1417)
> at
> com.sun.tools.javac.code.Types$AsSuperFcn.visitClassType(Types.java:1434)
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at com.sun.tools.javac.code.Types$AsSuperFcn.asSuper(Types.java:1417)
> at com.sun.tools.javac.code.Types.asSuper(Types.java:1407)
> at
> com.sun.tools.javac.code.Types$IsSubTypeFcn.visitClassType(Types.java:429)
>
> at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:482)
> at
> com.sun.tools.javac.code.Types$IsSubTypeFcn.isSubType(Types.java:353)
> at com.sun.tools.javac.code.Types.isSubType(Types.java:331)
> at com.sun.tools.javac.code.Types.isSubTypeUnchecked(Types.java:311)
> at com.sun.tools.javac.code.Types.isConvertible(Types.java:278)
> at com.sun.tools.javac.code.Types.isAssignable(Types.java:1630)
> at com.sun.tools.javac.comp.Check.checkType(Check.java:325)
> at
> com.sun.tools.javac.comp.Annotate.enterAnnotation(Annotate.java:122)
> at
> com.sun.tools.javac.comp.MemberEnter.enterAnnotations(MemberEnter.java:705)
>
> at
> com.sun.tools.javac.comp.MemberEnter.access$300(MemberEnter.java:39)
> at
> com.sun.tools.javac.comp.MemberEnter$5.enterAnnotation(MemberEnter.java:686)
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Fatal error compiling
>
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>