Jump to content

Recommended Posts

Posted

Awright, recently tried to get minecraft for self and friend to play - mostly 2 ppl on server, max 4. Tried to make a modpack for latest mc, failed at 1.7.10, so got 1.7.2 with all the latest possible mods etc, specced for 1.7.2 from their offsites. (will list em all in spoiler) Thing is that after running just like 1500 in any dir (without yet anything built - just exploring for a site) done by either me (host) or friend, the server first lags heavily on item pickup attempts, then goes boom with "Caused by: java.lang.OutOfMemoryError: Java heap space". Cannot point exactly which mods of my pack cause this, it seemed to work with just the industrial craft, might be railcraft (involved in terrain alterations). My own user research got 2 half-answers to the problem:

1) allocate more heap memory to server application (can't find how)

2) kill some of the installed mods cuz they are some otherwordly crap

Now as for (2) mods will be listed in spoilers and you can judge if anything is wrong, so I will only mention the memory thing separately. All applications related to minecraft are labeled jawaw in task manager and their properties get me to jawa SE launcher. First hint I got from one forum - through control panel adjust memory for all jawaw applets via -XINCGC -XMX(5000)M. Did that - my client stopped freezing and agonizing close to server fail BUT server fail still occurs as the server aplet seems to be nailed to 256 mb memory and never exceeding that in task list, despite the above mentioned change. So on other forums ppl advised to add

java -Xmx1024M -Xms1024M -jar minecraft_server.jar

to the server startup lines. Problem is that I can't find the server startup lines and where to put this change in.

 

Thanks in advance for answering and sorry if anything asked is completely trivial.

 

Crash log of the server:

 

  Reveal hidden contents

 

 

 

List of programs and mods (all of them were freshly completely reinstalled today to check that bug persists despite that)

clients:

 

  Reveal hidden contents

 

 

Server:

 

  Reveal hidden contents

 

 

P.S. Once again noting that general java memory allocation command really impacted my client behavior and memory consumption in tasks window, but did not affect server memory usage - kept at 256mb. Thanks for reading.

Posted

Add

-XX:PermSize=512m -XX:MaxPermSize=512m

to your parameters and try again

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

  Quote

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

Did as you said. Maybe did it somehow wrong cuz aint a programmer. Control panel/java 32bit/java/view - there's only one application jawaw - added -XX:PermSize=512m -XX:MaxPermSize=512m to its runtime parameters. Server fell exactly as before. After the character travelled almost the same distance. Server window hung so can't copy the text but it's the same ending.

Posted

I'm not blind, I'm just a noob - tried using that string replacing launcher name with forge one in shortcut etc - did not work. So asking a straight blonde question - where do I type this line so it gets accepted?

Posted

Thank you all for answering. It took me long to update on the problem because found some intermod incompatibility and had to chop down the whole mess over a few times. As for the problem the root was besides my poor java syntax knowledge in wrong java instalation - wrongn versio, bugged install, not registered in such system variables as path resulting in ton of errors in response to even correct commands. After fixing that and writing what you advised to the last letter, the system stabilized. It'll take me time to balance out these changes and see for maybe other bugs. Atm server does not crash after player running around over 1k tiles so question answered thanks for your time ppl.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.