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 <[email protected]> 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, [email protected] <
> [email protected]>
> 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

Reply via email to