JRuby Java 7 - Could not reserve enough space for object heap

Hi Folks,

I am using JRuby 1.6.7.2 and 1.7.0-preview1 on Java 7 on OSX Snow
Leopard.
I happen to be using rbenv, though I don’t believe that affects this
issue

$ java -version
openjdk version “1.7.0-jdk7u6-b21”
OpenJDK Runtime Environment (build 1.7.0-jdk7u6-b21-20120728)

$ rbenv which jruby
/Users/peterfitzgibbons/.rbenv/versions/jruby-1.6.7.2/bin/jruby
$ jruby -v
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

$ rbenv which jruby
/Users/peterfitzgibbons/.rbenv/versions/jruby-1.7.0-preview1/bin/jruby
$ jruby -v
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

My current SystemMemory :
Free: 4.01Gb
Wired: 1.30Gb
Active: 1.71Gb
Inactive: 0.99Gb
Used: 3.98GB
Installed: 8.0Gb

Anyone have a suggestion on configuration or other issue that is causing
this ?

Thanks a million!
Peter F.
(847) 859-9550
Email: [email protected]
IM GTalk: peter.fitzgibbons
IM AOL: [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs