ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: java.lang.OutOfMemoryError when using buildr package command
Date Wed, 23 Jul 2014 13:51:38 GMT
Hi Chris,

you could also set an environment variable JAVA_OPTS=-Xmx... and then run
buildr.

Best,
  Tammo


On Wed, Jul 23, 2014 at 3:27 PM, Sathwik B P <sathwik.bp@gmail.com> wrote:

> Hi Chris,
>
> What's your OS and how have you installed buildr.
>
> I use Jruby 1.7.13 on ubuntu,
> Command is as follows:
> jruby -J-XX:MaxPermSize=256m -S buildr clean package test=no
>
> regards,
> sathwik
>
>
> On Wed, Jul 23, 2014 at 2:47 PM, ggchrishxl@gmail.com <
> ggchrishxl@gmail.com>
> wrote:
>
> > Hello my friend,
> >
> >         I have tried to build ODE and generate Eclipse project according
> > to tutorial in offical website.
> >         When I run command "buildr package test=no" in the root directory
> > of  ode source code, I got this error:
> >
> >         Generating Javadoc for apache-ode
> >         javadoc: error - java.lang.OutOfMemoryError: Please increase
> > memory.
> >         For example, on the Sun Classic or HotSpot VMs, add the option
> > -J-Xmx
> >         such as -J-Xmx32m.
> >         1 error
> >         Buildr aborted!
> >         RuntimeError : Failed to generate Javadocs, see errors above
> >
> >         Obviously this means memory of java compiler is not enough, but
> > how to change it ?
> >         I got so many information about modify memory size of JVM by
> > command"java -Xms -Xmx" or "javac -Xms -Xmx",but noting about that in
> > buildr.
> >         Does anybody know about this? Please help me.Thank you !
> >
> >
> > Chris Wong
> >
>



-- 
Tammo van Lessen - http://www.taval.de

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