Welcome Guest | Login

JRuby?

Hi,

I'm playing around with a debian etch 256M virtual machine, trying to install JRuby.  I installed the Java SDK, and it works, compiled and executed hello world sucessfully.  

However, I can't get JRuby to execute.

$ jruby
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I have around 150m free on the server, any ideas?  I tried passing in standard stack limiting, as well as setting shell variables limiting stack size to 64m, with no success.

Any ideas?

Justin

2008-02-25 09:16 PM

Is that 150m free your burstable RAM (i.e. up to 512MB) ? If so that would certainly explain it.  Either way, it looks like you need more memory on your VPS - I'm not familiar with a way to hack around this issue to use less RAM.  

2008-02-26 09:32 AM

Hi William,

Nope, thats 150m free not taking into account bursting to 512.  Will keep tinkering with it, thanks though...

Justin

2008-02-26 09:39 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.