asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Westmann (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ASTERIXDB-1119) Maven fails with memory issues
Date Fri, 02 Oct 2015 22:01:26 GMT

    [ https://issues.apache.org/jira/browse/ASTERIXDB-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941845#comment-14941845
] 

Till Westmann edited comment on ASTERIXDB-1119 at 10/2/15 10:00 PM:
--------------------------------------------------------------------

[~pouria], does this always happen for you?


was (Author: tillw):
Pouria, does this always happen for you?

> Maven fails with memory issues
> ------------------------------
>
>                 Key: ASTERIXDB-1119
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1119
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: AsterixDB, Maven
>            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)

Mime
View raw message