Discussion:
JIRA Installation - Could not create the Java virtual machine
f***@atlassian.com
2011-03-31 19:21:00 UTC
Permalink
I am attempting to host a trial version of JIRA for evaluation purposes, I have installed Java (from Sun) but when I attempt to run using: bin/start-jira.sh (as the README informs me to do), I get the following errors:

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

I have 722MB of dedicated memory atm, so I doubt its running out of memory ... I can only assume there is a java setting somewhere that is limiting how much memory a given java app can consume.

Any help would be appreciated.
--
Post by unliketea - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52809
f***@atlassian.com
2011-03-31 21:54:08 UTC
Permalink
It is in bin/setenv.sh

Modify the file to increase the JVM_MAXIMUM_MEMORY
--
Post by jobinkk - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52809
f***@atlassian.com
2011-04-01 14:37:51 UTC
Permalink
Excellent! Thankyou very much.

In case others stumble upon this thread: I had to actually decrease the max memory. Openvz reports all the servers ram to the application, not just the amount dedicated to your VPS. So decrease the max memory to keep it from faulting the beancounter
--
Post by unliketea - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=52809
Loading...