Ahh... yes.

In about u16, the default behavior of java was changed with respect to the
default maximum heap size.

If you update your java, you won't have to use this option.

On Sat, May 7, 2011 at 4:11 PM, Brent Downs <[email protected]> wrote:

>
> export MAVEN_OPTS="-Xmx1g" works!
> Thanks!
> -Brent Downs
>
> > From: [email protected]
> > Date: Sat, 7 May 2011 15:33:54 -0700
> > Subject: Re: Starting out with Mahout
> > To: [email protected]
> >
> > export MAVEN_OPTS="-Xmx1g"
> >
> > and try again. :)
> >
> > On Sat, May 7, 2011 at 2:30 PM, Brent Downs <[email protected]>
> wrote:
> >
> > >
> > > Hey,
> > > Hopefully this isn't too asine a question.  I have downloaded Mahout
> and am
> > > trying to build it.  When try "mvn install" everything looks fine until
> the
> > > end.  Has anyone seen this particular error?  If so, do you know how to
> > > rectify it?
> > > -BD
> > >
> > > [INFO] 1 error[INFO]
> > > -------------------------------------------------------------[INFO]
> > >
> ------------------------------------------------------------------------[ERROR]
> > > BUILD FAILURE[INFO]
> > >
> ------------------------------------------------------------------------[INFO]
> > > Compilation failureFailure 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.MethodDef(TreeMaker.java:159)     at
> > >
> com.sun.tools.javac.parser.Parser.methodDeclaratorRest(Parser.java:2550)
> > > at
> > >
> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2481)
> > >  at
> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2408)
> > >     at
> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2253)
> > > at
> > >
> com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2191)
> > >        at
> > >
> com.sun.tools.javac.parser.Parser.classOrInterfaceBodyDeclaration(Parser.java:2446)
> > >  at
> com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2408)
> > >     at
> com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2253)
> > > at
> > >
> com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2191)
> > >        at
> > > com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java:2180)  at
> > > com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2126)  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:801)
> > >  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)     at
> > >
> org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(JavacCompiler.java:554)
> > >    at
> > >
> org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:161)
> > >     at
> > >
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
> > >  at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>  at
> > >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> > >      at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
> > >      at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
> > >
>

Reply via email to