JRuby 1.7.0 will not install bundler given plenty of memory

Posted by user678615 on Stack Overflow See other posts from Stack Overflow or by user678615
Published on 2012-10-23T20:34:27Z Indexed on 2012/10/24 23:01 UTC
Read the original article Hit count: 280

Filed under:
|

I installed jruby with

rvm install jruby-1.7.0

and it ran out of memory when it tried to create the gemsets so I started by trying to install bundler with the new version and this is what I get

~>gem install bundler
Error: Your application used more stack memory than the safety cap of 2048K.
Specify -J-Xss####k to increase it (#### = cap size in KB).
Specify -w for full StackOverflowError stack trace

So I moved up the memory and I still got nothing with a huge chunk of memory

~>JRUBY_OPTS=-J-Xss1024m gem install bundler
Error: Your application used more stack memory than the safety cap of 1024M.
Specify -J-Xss####k to increase it (#### = cap size in KB).
Specify -w for full StackOverflowError stack trace

How the hell can that not be enough I run applications on less than that

© Stack Overflow or respective owner

Related posts about jruby

Related posts about jrubyonrails