Redemption of Atlassian Answers T-Shirts, Backpacks and Jackets is temporarily unavailable while we migrate to a new third-party provider for https://swag.atlassian.com.
I am facing below error while shuting down jira instance,
"Error occurred during initialization of VM. Could not reserve enough space for object heap."
JAVA_HOME is also set properly.
I suspect the issue here is that you have assigned more memory for the JVM to use than is actually available on the server. Check the JVM_MINIMUM_MEMORY and JVM_MAXIMUM_MEMORY values as defined in the setenv.sh|bat file to ensure they are within an available amount of memory, also ensure JIRA_MAX_PERM_SIZE is set to about 256mb.
After you've checked these, make sure you havn't defined any that may overwrite these within a JAVA_OPTS environment variable.
As a rule, JVM_MAXIMUM_MEMORY should be set to three quarters your available memory but should not be higher than 1.5/2Gb.
I checked the setenv.sh file and defined values are,
Also i am not overwriting any of these values in JAVA_OPTS environment variables.
Try setting JVM_MINIMUM_MEMORY="800m" and restart
What is your servers available memory?
Sorry i forgot to mention.
Server available memory is 4.9G.