Jump to content

Recommended Posts

Posted

Hello guys,i really need help with something that i really cant find away around. ive checked all of the other tutorials on how to fix this but none work and this is my only option. i have 8Gb of ram firstly. when i start ther server and chance the settings in the launch.bat to:

 

'java -Xmx4G -Xms1G -jar Tekkit.jar nogui

pause'
 
it says that that it is an invalid maximum ram number and exceeds the maximum amount, this happenes for anything over this. anything under this E.G.
 
'java -Xmx2G -Xms1G -jar Tekkit.jar nogui
pause'
 
and it says that it could not reserve enough space,if anyone wants to help me and add me on skype its : 
bboylegend2
 
or just post in the replies , thanks :)
 
  • Discord Moderator
Posted

It sounds like you don't have the 64bit Java environment installed. Try uninstalling any Java listed in your Programs list in the control panel and then downloading and installing the latest build of Java 7 JRE 64bit and try again.

  • Discord Moderator
Posted (edited)

Then you have something else going on with your Java installation. I just did a copy/paste with the command exactly from from your original post in this thread and it worked fine.

 

Edit: Wait, are we talking Heap or Permgen? If the latter then you likely need to add this parameter to your command line:

-XX:PermSize=128m

or

-XX:PermSize=256m

I don't run a Tekkit server so I'm not sure if it needs 128m or 256m.

Edited by plowmanplow
Posted
C:UsersBradleyDesktopother random gamesActual Good GamesTekkit Server>java
 -Xmx2G -Xms1G -jar Tekkit.jar nogui
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
 
C:UsersBradleyDesktopother random gamesActual Good GamesTekkit Server>paus
e
Press any key to continue . . .
  • Discord Moderator
Posted

The output of the 64bit Java looks like this:

java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)

Note the last line is different. Uninstall all the Java entries from your Programs in Control Panel and re-install the latest Java 7 64bit JRE for Windows (download it if you don't have it already). Take special care to get the 64bit version.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...