TheJamessss

Server issues! Please help

Recommended Posts

So i have a tricky problem for whoever would like to help. I've been playing minecraft for a while, but Lan servers worked too inconsistently for me and my friends (We use Hamachi), so I decided to set up a server for us to play on using my IPv4. The server worked pretty well, but all of the mods were broken. Like they would appear in NEI, but you couldn't craft or spawn in any items from the modpacks. I searched around for a bit and found that my system didn't have enough RAM for the heap dump. It gave me this message: 

C:\Users\Joseph\Desktop\B-Team>java -Xmx3G -Xms2G -jar BTeam.jar nogui
Error occurred during initialization of VM 
Could not reserve enough space for 3145728KB object heap

C:\Users\Joseph\Desktop\B-Team>pause
Press any key to continue . . .

So I, thinking I was tech savvy enough to fix it, tried to add a Enviornment variable to fix this issue

Name: _JAVA_OPTIONS

Value: -Xmx512M

Now, whenever I try to launch, it gives me a different issue:

C:\Users\Joseph\Desktop\B-Team>java -Xmx3G -Xms2G -jar BTeam.jar nogui
Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size

C:\Users\Joseph\Desktop\B-Team>pause
Press any key to continue . . .

So now I'm stuck. Im not sure what exactly to do or if I'm even going in the right direction to fix my issue. I think my files are correct and in order, but look at this https://imgur.com/a/n9QmP to verify. Any and all help would be much appreciated!

Share this post


Link to post
Share on other sites
2 hours ago, TheJamessss said:

So I, thinking I was tech savvy enough to fix it, tried to add a Enviornment variable to fix this issue

Name: _JAVA_OPTIONS

Value: -Xmx512M

 

Why did you think this was a good idea? That just limits ALL java processes to 512 MB. Your initial error is not enough RAM available to allocate the the 3 GB you wanted it to have.

Your original issue, how did you start the server? Like, what file did you use to start it?

Share this post


Link to post
Share on other sites
On 3/11/2018 at 2:24 PM, JaariAtmc said:

Why did you think this was a good idea? That just limits ALL java processes to 512 MB. Your initial error is not enough RAM available to allocate the the 3 GB you wanted it to have.

Your original issue, how did you start the server? Like, what file did you use to start it?

I've launched it every different way I could think of. I've use the minecraft_server.1.6.4 file, the BTeam .jar file, the launch .bat file, and combinations of the 3. Nothing i do seems to work.

Share this post


Link to post
Share on other sites
56 minutes ago, TheJamessss said:

I've launched it every different way I could think of. I've use the minecraft_server.1.6.4 file, the BTeam .jar file, the launch .bat file, and combinations of the 3. Nothing i do seems to work.

Well, as long as you do not have 3 GB RAM available (be that due to a lack of 64 bits java, or due to you not having that amount of RAM free), your server will not start. You will have to use the launch.bat btw. The other two won't get you anywhere if you launch the server that way.

Share this post


Link to post
Share on other sites
3 hours ago, JaariAtmc said:

Well, as long as you do not have 3 GB RAM available (be that due to a lack of 64 bits java, or due to you not having that amount of RAM free), your server will not start. You will have to use the launch.bat btw. The other two won't get you anywhere if you launch the server that way.

My computer has 6 GB's of RAM available. How to I set 3 GB aside for the server because Im obviously an accident who doesn't know

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 Nefuria
      I'm attempting to make my first modpack for me and some mates as my pc is a potato, and cant run most of these big packs with the sort of mods I'm really interested in,. I see other people who post logs have about 40 lines, but the logs I've nabbed are way more, not sure if these are what anyone willing to help would need/want to look at, but here we are:
      https://paste.ubuntu.com/p/9DnQqxf5TN/
      I appreciate any help, I've been having a hard time with this, I couldn't get it to even download with mca when I had radixcore so I've taken those out.
    • By RedNewton
      every time I click play on this world it acts as if its loading and then it closes tekkit legends and go directly back to the launcher. pls send help
      crash-2019-08-15_13.34.41-server.txt crash-2019-08-15_13.34.52-client.txt
    • By 128px
      The technic launcher tries to boot my minecraft and nothing happens. I've spent hours of troubleshooting. This has been going on for 2 days now and none of my modpacks open.

      Logs: https://pastebin.com/k9g3LMV8

      The logs are after me trying to open it multiple times.
    • By OpalAspect
      right, me and some frineds are working on a modpack however i can not get it to work like at all, i've been in this endless loop of crashes and i need someone who knows their stuff to give me a hand. thanks 
      modpack link: https://www.dropbox.com/s/hjx7dvmzf4j2ywa/Amped%20Industrial.zip?dl=0 (i do remove dl=0, user content etc)
      https://www.technicpack.net/modpack/amped-industrial.1505997
      this issue i'm currently getting is when the mods begin loading, the game reaches stage 2/7 loads the mods then crashes back to the tekkit launcher.
    • By ThicUncleSam
      Well..
      I was trying my hardest to do this by myself but I've hit a wall..
      I can download my modpack and run it but I have no idea why the mods aren't loading into it..
      This modpack is simply for me and a handful of friends and i need a lot of help T-T
      Download: https://www.dropbox.com/s/vnrihmzyb5lhof1/O%27%20Kiin%20Dii.zip?dl=0
      Modpack Page: https://www.technicpack.net/modpack/tus.1492655