Having a very odd lag issue on one Minecraft server

Having a very odd lag issue on one Minecraft server - View of Volcanic Hills in African Savanna

On minecraft, I've been getting horrible lag on one of my favorite servers.

I checked the ping (by hovering over the bars in the multiplayer menu), and it's great: 35. However, when I join the server, I can't use any items, chat, or see other players move. I own another server hosted in the same place, which have no problems connecting. My friends can connect to the server, but I can't log on to it.

I attempted to log in to other servers and they work great, no problems. I run at 60mbps down and around 20mbps up.



Best Answer

If no-one else but you is experiencing this problem, it might be that your client has not enough memory assigned, and is doing forced garbage collecting every few seconds to make enough room to keep running the game. (N.B. "Garbage collecting" is the process in which unused memory is freed up. Normally it is done when nothing special is going on. Forced garbage collecting occurs when the java application runs out of memory and has to free up memory to keep running).

In the client, go to the start-up settings of the particular version you are running, and add the following JVM arguments:

-Xmx2560M -Xms2560M

Xmx2560M tells the Java virtual machine to allocate a maximum of 2560MB of memory to run the application, which is about 2.5GB. Xms2560M tells the JVM to allocate exactly 2560MB when the application starts. You can set the Xms option lower, but never higher than the Xmx option. It does not help to set the Xmx option higher than the amount of memory that is available after the OS and other processes take their share. If you would allocate more memory, it would need to be swapped from the hard drive, which is a very slow process.




Pictures about "Having a very odd lag issue on one Minecraft server"

Having a very odd lag issue on one Minecraft server - Close Up Photo of Programming of Codes
Having a very odd lag issue on one Minecraft server - Unrecognizable ethnic female therapist taking notes on clipboard while filling out form during psychological appointment with anonymous client lying on blurred background
Having a very odd lag issue on one Minecraft server - Person Holding Pastry Dishes on White Ceramic Plates



Why am I lagging so much on a Minecraft server?

Reasons for lag: - You are too far away from your server. - Too many worlds running on your server without sufficient RAM. - Errors are spamming in your console. - Too many plugins running on your server and not enough RAM.

Why is my server suddenly lagging?

If after all this plugin work you are still experiencing lag, then chances are you have either a bad world ( non optimized blocks), a bad internet connection, a bad computer, or the most common of all, server issues. Not enough RAM to run the amount of plugins, world size, and slots you want.

How do I fix lag in Minecraft network?

  • Another way to reduce lag in Minecraft is by giving Java priority over your computer's resources. ...
  • Using Kill Ping, you can connect to your game's server using the best possible route there is.


  • How do I reduce entity lag on my Minecraft server?

    Removing excess entities is the simplest way to reduce entity lag on your server. This can easily be done using a plugin. For example, ClearLagg automatically removes entities and can be configured to protect certain regions or entity types. You can also use a plugin to blacklist items/entities that cause entity lag.



    How To Stop Lag on A Minecraft Server (Increase Minecraft Server Performance!)




    More answers regarding having a very odd lag issue on one Minecraft server

    Answer 2

    Does the server have any plugins installed? I had an issue once where a plugin corrupted some data relating to someone on my server, and whenever they joined, the server slowed down immensely. I fixed the issue by wiping their player data on all of my plugins. Contact the server owner and ask them to do the same, because that might be the problem.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Antony Trivet, luis gomes, Alex Green, Pixabay