Posted May 5, 20187 yr So basically I want to play modded minecraft with a friend of mine, but the servers I make always seem to combust after a while (ranging from instantly with my last 2 attempts to 2 weeks with my 1.7.10 server I did a few weeks back) and the crash logs always mention ''JavaHeapSpaceError''. Now, I may have big plans when it comes to modded servers, but I'm about as knowledgeable as the next ape when it comes to IT-related stuff. I really want the server to be able to function properly (and I want it to keep functioning properly) so I need the help of people who actually know a lot about minecraft and coding in general. I'll post the crash report and the latest logs, hopefully that'll supply you with the info you need to help me out. The mods that I used are the exact mods as used in the ''Hexxit updated'' pack that is to be found under 1.12.2 packs on the Twitch launcher. Full logs; https://github.com/ZeFlyinDutchman/1.12.2-Server-logs/blob/master/README.md Crash report; https://github.com/ZeFlyinDutchman/1.12.2-Server-logs/blob/master/Crash report
May 5, 20187 yr Author Any tips on how to do so properly? (Like I said, I'm pretty clueless when it comes to IT stuff)
May 5, 20187 yr 22 minutes ago, ZeFlyinDutchman said: Any tips on how to do so properly? (Like I said, I'm pretty clueless when it comes to IT stuff) To your start.bat add -Xms=4G -Xms=4G That only applies to you if your using a bat file to start and on windows! Adding this is adding 4 gigabytes of dedicated RAM for your server, if the server slows down try to add more. Edited May 5, 20187 yr by SeanOMik Developer of "A Realistic Foods Mod"
May 5, 20187 yr 2 minutes ago, diesieben07 said: Not everyone uses Windows. Not everyone using Windows uses a batch file to start their server. Why is that comma there? Overall: Sorry, but not helpful. Yeah I just fixed it, I was thinking quickly Edited May 5, 20187 yr by SeanOMik Developer of "A Realistic Foods Mod"
May 5, 20187 yr Author But I do use windows. Does that mean that the .bat approach will solve all the issues? Will my server not have a mental breakdown if I increase its memory this way? If yes, that'd be awesome!
May 5, 20187 yr 1 hour ago, ZeFlyinDutchman said: But I do use windows. Does that mean that the .bat approach will solve all the issues? Will my server not have a mental breakdown if I increase its memory this way? If yes, that'd be awesome! Yes, what's the file extension of the file you're using to start the server? Edited May 5, 20187 yr by SeanOMik Developer of "A Realistic Foods Mod"
May 5, 20187 yr Author It's the standard Executable jar file that comes with the download from forge. I tried running the .bat, and it opens and closes immediately (don't know whether that's how it's supposed to work) but after doing that it still gives the same results...
May 5, 20187 yr 8 minutes ago, ZeFlyinDutchman said: It's the standard Executable jar file that comes with the download from forge. I tried running the .bat, and it opens and closes immediately (don't know whether that's how it's supposed to work) but after doing that it still gives the same results... Right click on the .bat and select "edit", notepad should pop-up and then copy and paste all the text in the file and post it here. Developer of "A Realistic Foods Mod"
May 5, 20187 yr Author java -Xmx4096M -Xms4096M -jar forge-1.12.2-14.23.3.2655-universal I tried 4G instead of 4096M as well, but same results...
May 5, 20187 yr If you are using a .bat then you can add the word pause on a new line, this will prevent the window from closing automatically
May 6, 20187 yr 5 hours ago, ZeFlyinDutchman said: java -Xmx4096M -Xms4096M -jar forge-1.12.2-14.23.3.2655-universal I tried 4G instead of 4096M as well, but same results... Not sure, do what MoeBoy76 said and post a screen shot or the text in the window Developer of "A Realistic Foods Mod"
May 9, 20187 yr Author Aight, so after a brief break from my server building struggles, I revisited the issue and it seems that I forgot to add ''.jar'' to the end of the server name, which was why it could find the the file. Now after adding the ''.jar'', I tried running it again with 4G of memory, and it then gave me this; So I then tried it with 2G, which then stopped it from saying I exceeded the max size, but then instead it gave me this; I guess this is a bit of progress, but it seems I'm still rather far from getting it to work...
May 9, 20187 yr Is your windows version 32 bit or 64 bit and how much ram do you have in your computer. The minimum size should be smaller than the max. -Xmx2G -Xms1G
May 9, 20187 yr Also, check the output of java -version from the commandline to make sure you have the 64 bit version installed (even if you have 64 bit windows, it is possible to have the 32 bit java). If the output of that command does not say 64-bit anywhere, then you are running the 32 bit and need to get the 64.
May 9, 20187 yr Author I have 16G RAM and a 64 bit version. Changing the minimum doesn't change the message line ''could not reserve enough storage heap''
May 9, 20187 yr Author It seems to run flawlessly with the 64-bit Java! Thank y'all for the tips, help and attention!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.