Giter Site home page Giter Site logo

Comments (16)

Eufranio avatar Eufranio commented on June 1, 2024

Just cleaned my server and it had 70k horses and 70k wither skulls, I suspect to be HolographicDisplays:

[04:46:23 INFO]: Removed 140941 entities. ( 6 x Botania.botania:spark ,  4 x Zombie ,  6 x Thaumcraft.Wisp ,  1 x Arrow ,  3 x Thaumcraft.GiantBrainyZombie ,  9 x MinecartChest ,  4 x witchery.hellhound ,  3 x Skeleton ,  5 x Creeper ,  7 x Blaze ,  49 x Item ,  70308 x EntityHorse ,  1 x Spider ,  13 x TConstruct.Bolt ,  47 x Natura.Imp ,  1 x WitherBoss ,  7 x Thaumcraft.AspectOrb ,  17 x witchery.goblin ,  18 x XPOrb ,  9 x Cow ,  1 x Thaumcraft.Golem ,  3 x Forestry.butterflyGE ,  13 x Chicken ,  70307 x WitherSkull ,  3 x Natura.FlameSpider ,  42 x Sheep ,  28 x PigZombie ,  19 x Pig ,  1 x DraconicEvolution.CustomArrow ,  1 x Bat ,  1 x Witch ,  4 x null )

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

The problem is not that method, the problem is that somehow you have 70k holograms. The method just happens to be the most expensive call for hologram entities.

You probably have a plugin constantly spawning holograms through Holographic Displays.

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

I dont have any other hologram plugins, or plugins that uses Holograms.

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

I'm pretty sure you do, I should probably add a command to check what plugin is responsible for that. However, can you check if the count is zero when the server starts and gradually increases?

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

The could is high even on startup. I deleted the database file and it works now, but eventually increases the holograms anyway.

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

What was the content of that file? Were there 70k holograms?

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

Nope. My guess is that, in some loop, holograms were re and re-created. The file was right with the right holograms, after removing it, I guess the "duplicated" holograms weren't created again, not sure...

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

I'm closing this issue, since I'm not able to reproduce it. The plugin doesn't randomly create holograms. Also, I've improved the performance of that method by ~8 times.

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

When did you?

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

Sorry, I forgot to link the commit: 20acd2f I did a quick benchmark before and after the change.

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

Hmm, hope it will fix my issue 😃

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

The commit will not fix the issue, you have to search the cause of the 70k holograms that were spawned.

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

And how can I do it? I see nothing pointing to things other than the lag caused by the holograms...

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

You can:

  • check if any of your plugins uses holograms (maybe it's not mentioned in the documentation, try opening plugin.yml inside the jar file and search for HolographicDisplays)
  • remove other plugins until the issue is resolved, but since you told it only happened once you wouldn't be able to tell if it's resolved or not

from holographicdisplays.

Eufranio avatar Eufranio commented on June 1, 2024

I have only a few plugins, and they don't use Holograms at all, and the issue will randomly happen, only once the Holograms (entities) started with the server. Most times they will gradually increase as long as the server is running. An restart fixes the problem, but sometimes we can't restart the server 4+ times per day, players will get mad...

from holographicdisplays.

filoghost avatar filoghost commented on June 1, 2024

It must be one of those plugins, it's not a common problem (in fact, it's the first time I hear it). Try on a test server with only Holographic Displays, and then gradually add all the other plugins until the issue appears.

from holographicdisplays.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.