incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yichi Lu <yichi...@sungard.com>
Subject Build error
Date Wed, 12 Sep 2012 18:50:02 GMT
Hello, fellow CloudStacker.

I am new here,and I have a problem. I downloaded CloudStack,
incubator-cloudstack, and tried to build it. I just typed mvn, and I got:

...
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
cloud-awsapi ---
[INFO] Compiling 972 source files to /Users/
yichi.lu/CloudStack/incubator-cloudstack/awsapi/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
at com.sun.tools.javac.tree.TreeMaker.Select(TreeMaker.java:383)
at com.sun.tools.javac.parser.Parser.term3(Parser.java:1026)
at com.sun.tools.javac.parser.Parser.term2(Parser.java:683)
at com.sun.tools.javac.parser.Parser.term1(Parser.java:654)
at com.sun.tools.javac.parser.Parser.term(Parser.java:610)
at com.sun.tools.javac.parser.Parser.term(Parser.java:592)
at com.sun.tools.javac.parser.Parser.type(Parser.java:586)
at com.sun.tools.javac.parser.Parser.formalParameter(Parser.java:2636)
at com.sun.tools.javac.parser.Parser.formalParameters(Parser.java:2617)
at com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2519)
at
com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2478)
at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2405)
at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2250)
at
com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2188)
at
com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2443)
at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2405)
at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2250)
at
com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2188)
at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java:2177)
at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2123)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:509)
at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:550)
at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:804)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
at com.sun.tools.javac.main.Main.compile(Main.java:353)
at com.sun.tools.javac.main.Main.compile(Main.java:279)
at com.sun.tools.javac.main.Main.compile(Main.java:270)
at com.sun.tools.javac.Main.compile(Main.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

[INFO] 1 error

I have:
USLT-205731:incubator-cloudstack yichi.lu$ echo $MAVEN_OPTS
-Xms512m -Xmx1024m

Has anyone seen this problem before? Any suggestions? My machine is a
MacBook Pro, MacOS 10.7.3. I followed instructions here:
http://wiki.cloudstack.org/display/dev/Setting+up+a+CloudStack+development+environment+on+Mac+OSX

Thanks.

Yichi Lu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message