It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error occurred during initialization of VM Too small initial heap

I changed the values to 512 and 1024 respectively. 



Now JIRA will not start. Complains the heap is small. Changed the values back and still won't start with same error message.

cat /proc/meminfo shows:

MemTotal: 8063248 kB
MemFree: 5456820 kB
Buffers: 622272 kB
Cached: 1517056 kB
SwapCached: 804 kB
Active: 1300020 kB
Inactive: 873112 kB
Active(anon): 33136 kB
Inactive(anon): 668 kB
Active(file): 1266884 kB
Inactive(file): 872444 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 2097148 kB
SwapFree: 2083376 kB

So there is enough RAM. What is going on here?

Executing - ./ -fg and I get:

Server startup logs are located in /opt/atlassian/jira/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira
Using CATALINA_HOME: /opt/atlassian/jira
Using CATALINA_TMPDIR: /opt/atlassian/jira/temp
Using JRE_HOME: /usr/lib64/jvm/java/jre
Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira/work/
JVMJ9GC017E -Xmx too small, must be at least 1 Mbytes
JVMJ9VM015W Initialization error for library j9gc26(2): Failed to initialize
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

1 answer

1 accepted

0 votes
Answer accepted

You're allocating the memory in bytes - it needs Megabytes.  Try adding "m" to the end of the numbers to tell it you mean Mb

OK, didn't know that. But how did this work before? The standard values did not have this notation. Does that mean that these values are not initially used?

I don't know where you got those numbers from - I get the "m" on the end when I do a default installation

Maybe I was just blind :-) Anyways thanks for the help!

Thank you @Nic Brough {Adaptavist} 

These assignments worked:



These did not :


In file


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you