On Tue Jun 04 09:59:57 2013, nicholas wrote:
> On Tue, Jun 04, 2013 at 08:54:14AM -0700, Will Coleda via RT wrote:
> > FYI:
> > 
> > $  java -version
> > java version "1.7.0_10"
> > Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> > Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
> 
> Not that I have a great idea on this, but "out of memory" on which step?
> Compiling the setting?
> 
> and what platform - x86_64 (GNU) Linux?
> How much RAM?
> If you use -Xmx to set a larger heap size, does it work?
> 
> Nicholas Clark

>From the original post:

nqp/install/nqp --target=classfile --output=blib/Perl6/Grammar.class
--encoding=utf8 \
src/Perl6/Grammar.nqp

That's the step that dies. If I add

-Xms500m -Xmx2g

(copied from elsewhere in rakudo-java's Makefile), and add it to the command 
line there, the 
build works.

This probably isn't something we should add by default to the installed nqp, 
but we should 
consider allowing this to be a command line option to nqp's configure step. 
(and add a 
warning in the nqp readme)

-- 
Will "Coke" Coleda

Reply via email to