TheJamessss

Server issues! Please help

6 posts in this topic

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • By austincain1006
      So I'm trying to get more memory running into technic, so that I can play the yogbox smoothly. Problem is that nothing I do works.
      I've tried alot of things:
      Reinstalling Java entirely Checking the launcher settings in the java settings tab (It only allows me to allocate 1 GB) Adding a new .bat file with the following argument ( java -Xmx6144M -Xms6144M -jar “minecraft.exe” )  into the .minecraft folder If anyone has any ideas, or thinks that I've done something wrong, please let me know cause I cant wrap my head around this.
       
    • By DatMudkip873
      When I try to run minecraft sky (official) everything works fine but when it says: Finishing Up 6/7 it will close out of minecraft and put me back on the technic launcher. (I haven't gotten any crash reports) Please help!
      I think this may be a crash report?
       
      [16:57:37] [main/INFO]: Setting user: DatMudkip873
      [16:57:39] [Client thread/INFO]: LWJGL Version: 2.9.1
      [16:57:50] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Not Enough Items, FMLFileResourcePack:Aether II, FMLFileResourcePack:AgriCraft, FMLFileResourcePack:ArchitectureCraft, FMLFileResourcePack:BiblioCraft, FMLFileResourcePack:Botania, FMLFileResourcePack:BC Transport, FMLFileResourcePack:BC Silicon, FMLFileResourcePack:BuildCraft, FMLFileResourcePack:BC Energy, FMLFileResourcePack:BC Factory, FMLFileResourcePack:BC Builders, FMLFileResourcePack:BC Robotics, FMLFileResourcePack:BuildCraft Compat, FMLFileResourcePack:ChickenChunks, FMLFileResourcePack:Chisel, FMLFileResourcePack:CoFH Core, FMLFileResourcePack:PTRModelLib, FMLFileResourcePack:Decocraft, FMLFileResourcePack:EnderCore, FMLFileResourcePack:Ender IO, FMLFileResourcePack:Ex Nihilo, FMLFileResourcePack:Ex Compressum, FMLFileResourcePack:Gilded Games Utility, FMLFileResourcePack:Gliby's Voice Chat Mod, FMLFileResourcePack:Immersive Engineering, FMLFileResourcePack:Inventory Tweaks, FMLFileResourcePack:Iron Chest, FMLFileResourcePack:Logistics Pipes, FMLFileResourcePack:Mantle, FMLFileResourcePack:MinecraftSky, FMLFileResourcePack:MineFactory Reloaded, FMLFileResourcePack:MFR Compat: BuildCraft, FMLFileResourcePack:MFR Compat: ForgeMicroblock, FMLFileResourcePack:MFR Compat: Thaumcraft, FMLFileResourcePack:MFR Compat: Thermal Expansion, FMLFileResourcePack:MFR Compat: Tinkers' Construct, FMLFileResourcePack:MFR Compat: TwilightForest, FMLFileResourcePack:MFR Compat: Vanilla, FMLFileResourcePack:MineTweaker 3, FMLFileResourcePack:Mod Tweaker 2, FMLFileResourcePack:Rope Bridge, FMLFileResourcePack:RPGAdvMod, FMLFileResourcePack:Solar Expansion, FMLFileResourcePack:Tinkers' Construct, FMLFileResourcePack:Thaumcraft, FMLFileResourcePack:Thermal Expansion, FMLFileResourcePack:Thermal Foundation, FMLFileResourcePack:Tree Growing Simulator 2014, FMLFileResourcePack:The Twilight Forest, FMLFileResourcePack:Waila, FMLFileResourcePack:Yet Another Backup Mod, FMLFileResourcePack:YUNoMakeGoodMap, FMLFileResourcePack:Baubles, FMLFileResourcePack:Forge Microblocks, FMLFileResourcePack:Forge Multipart, FMLFileResourcePack:Minecraft Multipart Plugin
      [16:58:22] [Sound Library Loader/INFO]: Sound engine started
      [16:58:28] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
      [16:58:29] [Client thread/INFO]: Created: 16x16 textures/items-atlas
      [16:58:47] [Client thread/INFO]: Created: 16x16 textures/revolvers-atlas
      Hopefully this helps!
    • By Nixerent
      I have created a modpack and when i click play it install everything but when it gets to "Installing Minecraft Assets" it says 0% and then closes the launcher as to start the game but then the launcher opens again!
      fml-client-latest.log: https://pastebin.com/PSxgwyNt
    • By ShrillBear52
      Since i'm able to launch my custom modpack i wanted to do a server as well for me and my friends. But after a few minuet when i join to my server it closes automatically for no reason.
      log:
      https://pastebin.com/14ARTv5f
      Also, the server crashes automatically if i put thaumcraft (1.12.2 version) to the mods folder.
      I would really appreciate any help
    • By t0rched
      Over 6+ Years Online and in Development, New Mods, 1.12.2!
      Click Here to Visit our Fully MC Integrated Site
      Custom Mod Pack and Server Community 
      Our mod pack is designed, maintained and even hosted by our community.
      Constantly updated and perfectly tailored to players tastes.
      We provide a unique mod pack experience that lets you choose what gets added, removed and even tweaked.
      We have a dedicated server waiting for you, filled with adventure!
       DEDICATED, FAST AND RELIABLE SMP Server: 16GB RAM / SSD / 1Gbps 
      CUSTOM AUTOMATION PACK / BASED on STONEBLOCK PACK
      >> Click Here for our Website! <<
      >> Click Here for the Mod List! <<
      Technic Page: http://www.technicpack.net/modpack/worldautomation
      >> Custom Launcher Available <<