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 Tx957
      Hey,
      I got an issue with my Tekkit Crashing every time I try to play it. I don't know if it occurs with other packs tho. My Java's up to date, and so are my Drivers. I will embed the Crash file here:
      ---- Minecraft Crash Report ---- // I'm sorry, Dave. Time: 13.11.18 18:14 Description: Initializing game org.lwjgl.LWJGLException: Pixel format not accelerated at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method) at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52) at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:244) at org.lwjgl.opengl.Display.createWindow(Display.java:306) at org.lwjgl.opengl.Display.create(Display.java:848) at org.lwjgl.opengl.Display.create(Display.java:757) at org.lwjgl.opengl.Display.create(Display.java:739) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:449) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808) at net.minecraft.client.main.Main.main(SourceFile:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method) at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52) at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:244) at org.lwjgl.opengl.Display.createWindow(Display.java:306) at org.lwjgl.opengl.Display.create(Display.java:848) at org.lwjgl.opengl.Display.create(Display.java:757) at org.lwjgl.opengl.Display.create(Display.java:739) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:449) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808) at net.minecraft.client.main.Main.main(SourceFile:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_191, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 291973816 bytes (278 MB) / 383778816 bytes (366 MB) up to 6681526272 bytes (6372 MB) JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx7168m -XX:MaxPermSize=512m AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Launched Version: 1.6.4-Forge9.11.1.965 LWJGL: 2.9.0 OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Pack: Default Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null Thank You!
    • By KitKatz
      Ok so i thought i was my computer then i see other people are having the same problem when i load technic launcher its just stuck on the logo i cant do anything about it and i really want to do a modpack with a friend is there a way to fix this?
    • By viperaxes
      Hello! 
      So I have used technic for years on computer to computer. Currently I'm on an ASUS windows 10 laptop. Lately I have been wanting to use the launcher to play hexxit, tekkit, etc.... But for a couple hours I have ran into a HUGE roadblock.
      Every time I load up the launcher and proceed to run tekkit or something the launcher will close and proceed to launch the modpack (as it should) but it just remains at a white screen. Sometimes the modpacks wont load at all! This will happen with the Minecraft launcher as well, I go to load Minecraft and it either closes or crashes. furthermore the Feed The Beast launcher will do the same as well. honestly this is getting on my nerves!
      For the past couple hours I have searched far and wide for a solution. YouTube, this forum, reddit, google search, redownloading, downloading different java software, updating my drivers, and so on. apparently 3 years back people were having the same problems as me but they managed to fix there's. I don't understand what I am missing or failing to understand.
      If there is any one out there who can help me? do not hesitate to respond! I will gladly co operate in any way necessary!
      Get back to me as soon as possible!
    • By adamcool4
      So I was making a server (as you do) and everything was fine and dandy until I went onto it with mods, server doesn't crash, but my modpack does!
      https://www.dropbox.com/s/l8fl88fw8uzjebg/crash-2018-11-02_21.33.07-client.txt?dl=1
    • By t0rched
      WorldAutomation.Net
      Click Here to Visit our Fully MC Integrated Site
      Custom Mod Pack and Server Community 
      CHECK OUT OUR MOD LIST

       
      Automation, Tech, Magic, Space and beyond!
       
      Minecraft 1.12.2 Release, 200+ mods and so MUCH MORE!!
      Latest releases of your favorite mods.
      Tailored configs and mod integration's.
      Come join our community at https://www.worldautomation.net.
      We have a dedicated server waiting for you, filled with adventure!
      JOIN OUR DISCORD FOR SERVER NEWS AND EVENTS
      DEDICATED, FAST, RELIABLE SERVER OPEN 24x7
      Follow us on Twitter (@wa_revived)
      And check us out on Facebook
      Custom Launcher Available!