IHaveAProblem

Tekkit Legends Macintosh RAM allocation

Recommended Posts

Im running a tekkit legends server on mac and in all my tekkit and other wise servers I've used the following command file to run the server:

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xms3G -Xmx4G -jar TekkitLegends.jar

At the moment this command it not working, the server will crash immediately

The server is able to run if I simply open the TekkitLegends.jar file but it runs very slowly because it doesnt have enough RAM. Is there an alternative command I should use or another way to allocate memory to the server? I would appreciate help so much, and thank you in advance

 

[Side note- I have also tried 

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx2G -Xms1G -XX:MaxPermSize=128m -jar "TekkitLegends.jar" nogui

this is based on the start.bat file that unfortunately only works on PC.)

Share this post


Link to post
Share on other sites

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.


  • Similar Content

    • By macprostand
      Whenever I click install on a modpack it'll download for a little bit and say can't down load (link of mod name) please consult modpack author. It does this for every pack. I have checked the forums and nothing has helped. My computer is relatively new as well so I have no idea what is wrong.
    • By Jurgen773
      So i dusted off my old hard drive and foud an old technic modpack with my world etc. Its called ArchCraft and sadly its original cersion is non downloadable on technic and the only downloadable ArchCraft upload (https://www.technicpack.net/modpack/archcraft-pirata.1323561) is not working and crashes on load. Does anyone have any idea where to get ArchCraft or how do i run it ? I want to explore my old worlds with this modpack. Please somebody help me 
      Thanks for any replies
    • By TsE
      I have made a modpack. Everything works fine except for the installing process. It installs until it reaches %22 and than magically it resets the whole process and says install again. please help.
    • By princesschalia
      hey everyone this is my first time posting so hopfully i can do it right but basically im making a custom modpack for my boyfriend as a surprise so we can play together with all our favorite mods and ive encountered some problems which ive manged to fix myself but now i load into minecraft and theres no mods! its just vanillia ive tried so hard to make it work and i really want it to work becuase seeing the reaction of my boyfriend would be so sweet c,: any help will be greatly appricated thanks!
      https://www.technicpack.net/modpack/couplepack.1538467
      https://www.dropbox.com/home?preview=modpack.zip
       
       
    • By NanoByte
      I can't allocate more than 1 GB of RAM to my technic launcer, and before you comment you need to know that I have a 64bit Win10 and 64 bit Java 8 latest version. I also have plenty of memory available (16 more precise) and a pretty nice pc, my only problem is that I can't load any pack because of the Ram restriction