On Sat, Apr 3, 2010 at 4:31 AM, Anil W. [email protected]
$ jgem install rack-mount -v=0.6
Error occurred during initialization of VM
Could not reserve enough space for object heap
While trying to intall Rails dependent gems… Looks like something has taken
up huge memory.
Can somebody explain what is this and how to avoid this issue?
The JVM won’t start up if the -Xmx amount (512M by default in JRuby)
is more than available physical memory. You can tweak it as Vladimir
mentioned to get to get it to start up; generally it should’t need
that amount for most applications (we just set it to that so it has
room to grow when it does need it).
Is this on Windows? Non-Windows systems seem to be more giving about
virtual memory for the unused large heap, while Windows just refuses
to start it up.
To unsubscribe from this list, please visit: