Skip to content

[GUIDE- Fix] Error occurred during initialization of VM

Featured Replies

Hello maxcheaters!

 

In this Guide i explain how to fix this problem.

 

When you starting gameserver and if it will show this error

 

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

 

Just do this:

 

1.Right Click on Gameserver.bat

2.Click Edit

3.You Will See This:

java -Xmx2048m -Xms2048m -cp

 

Change it to This

 

java -Xmx1024m -Xms1024m -cp

 

4.Save & Close

5.Start Gameserver.bat and it's ok.

 

very good one,more ppls had the same problem in the English & greek section too.

thnx for the guide!

First you should add check your RAM memory :D

If I have 8GB I can make the values to 8192

if I have 1 GB ram it will be little hard to start the servers :D

but thanks for your try :)

great and usefull guide for newbie :D anyway thanks for it .

wrong actually

 

1.non of the packs have as default 2048mb as heap

2.nobody stupid enough to run live server under 32bit(except home servers)

3.when you have 32bit than you cant create bigger JVM than 1536mb but 1024 can hold 100 or more player easily

4.if you have 64bit OS this error will never occur only if you have a too big server and you ran out of memory

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.