Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Serious How to fix lag spikes!

Discussion in 'Nemract's Bar' started by Gonubax, Jun 29, 2023.

Thread Status:
Not open for further replies.
  1. Gonubax

    Gonubax Newbie Adventurer

    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    2
    Minecraft:
    I did notice here and there on this forum that some have lag spike issues, and that others don't. I was part of those that do, and I found out a fix : Thread allocation.

    No, that doesn't mean that you don't have enough RAM, that just means that it's used in a wrong way : Allocating 2GB should be enough to run a Wynncraft client, but the problem arrives where there's no RAM avaliable to Minecraft.

    From my limited understanding of programming, Java has to salvage the RAM it has with something called a "Garbage Collector". I highly suspect that happens when a lag spike happens.. The way I did to fix this is... well... allocating more threads to Java using something in the MC launcher called "JVM Arguments".
    upload_2023-6-29_17-44-13.png more specifically.

    I used upload_2023-6-29_17-44-19.png =3, because I have 6 cores and run a lot of apps in the background too, but 2/3 to 3/4 of your CPU's cores should be enough. I need others to try this out and experiment with that JVM argument, so I can see if it's truly a CPU usage problem rather than a spec issue.
     
    Posidon22 likes this.
  2. Krooza

    Krooza Professional dumbass

    Messages:
    495
    Likes Received:
    738
    Trophy Points:
    89
    Guild:
    Minecraft:
    Uhhh too complicated for me
     
  3. Posidon22

    Posidon22 Skilled Adventurer

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    43
    Minecraft:
    Trying this, I've been experiencing lag spikes and it debilitates me a lot, so I allocated 2/4 of my cores and not 3/4 as a start, will report performance
     
  4. Posidon22

    Posidon22 Skilled Adventurer

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    43
    Minecraft:
    update: after an entire day with those settings, I went from having huge lag spikes every single moment to not having a single one, this definitely works (at least for me), and I do not have a strong pc at all!
    I wish this post was more viral this'd help the community greatly
     
  5. Krooza

    Krooza Professional dumbass

    Messages:
    495
    Likes Received:
    738
    Trophy Points:
    89
    Guild:
    Minecraft:
    How to change this then?
     
    Hellchi likes this.
Thread Status:
Not open for further replies.