Jump to content

"Connection timed out" in a Singleplayer world.


IUseWeirdPkmn

Recommended Posts

When creating a singleplayer world, just before I get plopped into the world, I get kicked out of it with a closed channel exception. The log says "connection timed out", but I have no idea how that could happen on an internal server,that's not even open to LAN.

Here's the log:

https://paste.gg/p/anonymous/fb39410afac544bd926b3e2a4afb426a

It's quite long. Since the error only occurs when trying to create a world, I'd think the error is near the bottom of the log.

Thank y'all in advance.

Link to comment
Share on other sites

  • 3 months later...

The server is getting overloaded by either Thaumcraft or MrTJPCore.

I also had the same issue with MrTJPCore loading chunks randomly while I was playing, crashing the game.

Are any of your mods in beta stage? Try getting a older (but release) version of those mods listed above.

Also try increasing your RAM allocation from 3072MB to 6144MB.

It also seems that while loading it hits the RAM allocation, so that could also be the problem.

 

EDIT: It is not Thaumcraft directly, but a JEI module that thaumcraft comes with.

I don't know if projectred is supposed  to create that much model errors while loading, but also try to remove any ProjectRED-related mods as well.

Edited by hcUpServer
Link to comment
Share on other sites

19 minutes ago, hcUpServer said:

The server is getting overloaded by either Thaumcraft or MrTJPCore.

I also had the same issue with MrTJPCore loading chunks randomly while I was playing, crashing the game.

Are any of your mods in beta stage? Try getting a older (but release) version of those mods listed above.

Also try increasing your RAM allocation from 3072MB to 6144MB.

It also seems that while loading it hits the RAM allocation, so that could also be the problem.

AFAIK the log does not suggest anything about that though.

 

1.12.2 is no longer supported on this forum. Update to a modern version of Minecraft to receive support.

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

2 minutes ago, DavidM said:

The log does not suggest anything about that though.

 

1.12.2 is no longer supported on this forum. Update to a modern version of Minecraft to receive support.

It at some point does note that MrTJPCore is loading chunks causing worldgen lag.

Link to comment
Share on other sites

4 minutes ago, hcUpServer said:

It at some point does note that MrTJPCore is loading chunks causing worldgen lag.

I don't think such world gen lag would cause the server to shut down directly.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

Just now, DavidM said:

I don't think such world gen lag would cause the server to shut down directly.

It nearly hit the memory allocation limit (-Xmx3072MB) while generating the world.

So my guess is that the server was barely surviving with the allocation, then MrTJPCore started loading chunks, which then caused the server to skip ticks and then thamicjei ate even more and then it died.

 

Also keep in mind that the allocation is also for graphics, so that would also consume more memory as well.

 

Link to comment
Share on other sites

8 minutes ago, hcUpServer said:

It nearly hit the memory allocation limit (-Xmx3072MB) while generating the world.

So my guess is that the server was barely surviving with the allocation, then MrTJPCore started loading chunks, which then caused the server to skip ticks and then thamicjei ate even more and then it died.

 

Also keep in mind that the allocation is also for graphics, so that would also consume more memory as well.

 

IIRC if the server shuts down due to lack of memory, it would log such occurrence into the log.

Most of the times nearly hitting the memory limit does not necessarily mean the game would run out of memory. Java’s garbage collector would clean up memory when memory usage is high.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

5 minutes ago, DavidM said:

IIRC if the server shuts down due to lack of memory, it would log such occurrence into the log.

Most of the times nearly hitting the memory limit does not necessarily mean the game would run out of memory. Java’s garbage collector would clean up memory when memory usage is high.

When it cleans up memory doesn't that mean some crucial memory would also disappear?

I'm not the best at Java and its methods of memory management. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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