1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Server freezes for some time when saving world

Discussion in 'Development' started by EnteMomo, Oct 15, 2020.

  1. EnteMomo

    EnteMomo Silverfish

    Messages:
    22
    GitHub:
    Joshiiiii
    Hey!
    For some months now I have had the problem that my server freezes for several seconds when saving worlds automatically. This will be due to the custom heads in the world. I have used the plugin PlayerHeads(https://poggit.pmmp.io/p/PlayerHead/1.0) from Poggit. But since this saves the whole skindata in the item every time, I made my own one with a skin database and converted the existing headitems in the world, by removing the skindata string and only setting a SkinID which is connected to the skin database.
    But the problem is still there that saving worlds takes forever and the server freezes.
    Here is a timing link: https://timings.pmmp.io/?id=87810
    The world has not become smaller either even after converting every item. It is currently nearly 100GB in size, which should not be normal.
    I would be very greatful if someone could help me with that problem.

    If you need any more information don't hesitate to contact me.

    Thanks!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.