Jump to content

Recommended Posts

Posted

hi i have put many many hours into tekkit lite but had to get a new hard drive so i am starting off from scratch. I am able to set up the tekkit lite server and enter the server fine through the technic launcher but seem to be restricted to about 178mb of ram. i upped the amount to 4gb in the technic launcher but nothing changed. no matter what i do i cant seem to feed the server more ram, please help i have been working at this for over 5 hours now and was working for almost 4 hours yesterday with no luck. i have searched everywhere and paging through these files so much i am actually starting to get to know them and their contents by memory. when trying to launch from launch.bat it says that it doesnt have enough memory to work through a 3.1ish GB heap but when i try to manually increase to 4GB to get it to work i get a message saying the amount is invalid for some reason. can anyone help please.

Posted

i downloaded the tekkit_lite_server_0.6.5 files and run the  minecraft_server jar file then i go to the technic launcher and go into tekkit lite. my system has 8gbs of ram.

  • Discord Moderator
Posted
  • You shouldn't be running the minecraft_server.jar. You should be using the launch.bat file provided in the the server download to Launch Forge (TekkitLite.jar) with the correct command line parameters. Without that, even if you run TekkitLite.jar manually it will use the default RAM which is much lower than required.
Posted (edited)

i originally tried to but got an error message so i figured i was using the wrong file. when trying to run launch.bat i get a message in the cmd window that says:

 

C:UsersCodyDownloadsTekkit_Lite_server_0.6.5>java -Xmx3G -Xms2G -jar TekkitLite.jar nogui

Error occutted during initialization of VM

Could not reserve enough space for 314728KB object heap

 

im not sure where this is coming from, I know for sure that i have 8gb working RAM in my system. I have also tried going in manually and tried to have it run as -Xmx4G -Xms3G  because i thought that it was only getting 3gbs which wasnt enough for the object heap that the cmd mentioned but then i get another error file saying that -Xmx4G is invalid.

Edited by cammanders
  • Discord Moderator
Posted

That error means you don't have enough available RAM to allocate what is listed in the batch file.

  • Set your Launcher to allocate 2G of RAM
  • Edit the launch.bat file and change -Xmx3G to -Xmx2G
Posted (edited)

is it ok if i leave -Xms2G alone or shouldi change it to a smaller value?

 

edit: after messing around with the numbers i got the server to start working with

-Xmx1G -Xms1G

kind of confusing though because i though for sure that i would be able to use a little more RAM than just 1gb, is this normal?

Edited by cammanders
  • Discord Moderator
Posted

It is highly dependent on what else you are running on your PC. This is why it is nearly always a bad idea to run both the client and server on the same system.

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...