You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Pouria (JIRA)" <ji...@apache.org> on 2015/10/02 23:46:26 UTC

[jira] [Created] (ASTERIXDB-1119) Maven fails with memory issues

Pouria created ASTERIXDB-1119:
---------------------------------

             Summary: Maven fails with memory issues
                 Key: ASTERIXDB-1119
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1119
             Project: Apache AsterixDB
          Issue Type: Bug
            Reporter: Pouria
            Assignee: Ian Maxon


-) Mac OS X 10.8.5 - 8GB of RAM 
-) java version "1.7.0_25"
-) Apache Maven 3.0.3

Following the steps on the dev-setup page and trying to build the project by maven fails with heap issues:

(After building Hyracks successfully)
> git clone https://github.com/apache/incubator-asterixdb-hyracks/
> cd $HOME/workspace/asterixdb/
> mvn install -DskipTests

Here is the failure happening in building asterix-installer (I have seen a similar issue, but in asterix-yarn before):

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:2219)
	at java.util.ArrayList.grow(ArrayList.java:213)
	at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:187)
	at java.util.ArrayList.add(ArrayList.java:411)
	at com.sun.tools.javac.file.ZipFileIndex$ZipDirectory.buildIndex(ZipFileIndex.java:590)
	at com.sun.tools.javac.file.ZipFileIndex$ZipDirectory.access$000(ZipFileIndex.java:484)
	at com.sun.tools.javac.file.ZipFileIndex.checkIndex(ZipFileIndex.java:192)
	at com.sun.tools.javac.file.ZipFileIndex.<init>(ZipFileIndex.java:137)
	at com.sun.tools.javac.file.ZipFileIndexCache.getZipFileIndex(ZipFileIndexCache.java:100)
	at com.sun.tools.javac.file.JavacFileManager.openArchive(JavacFileManager.java:548)
	at com.sun.tools.javac.file.JavacFileManager.openArchive(JavacFileManager.java:482)
	at com.sun.tools.javac.file.JavacFileManager.listContainer(JavacFileManager.java:368)
	at com.sun.tools.javac.file.JavacFileManager.list(JavacFileManager.java:644)
	at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:2499)
	at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:2143)
	at com.sun.tools.javac.code.Symbol.complete(Symbol.java:421)
	at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:298)
	at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:459)
	at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:258)
	at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:272)
	at com.sun.tools.javac.comp.Enter.complete(Enter.java:484)
	at com.sun.tools.javac.comp.Enter.main(Enter.java:469)
	at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:929)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)
	at com.sun.tools.javac.main.Main.compile(Main.java:439)
	at com.sun.tools.javac.main.Main.compile(Main.java:353)
	at com.sun.tools.javac.main.Main.compile(Main.java:342)
	at com.sun.tools.javac.main.Main.compile(Main.java:333)
	at com.sun.tools.javac.Main.compile(Main.java:94)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)