Comments (16)
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.
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.
I dont have any other hologram plugins, or plugins that uses Holograms.
from holographicdisplays.
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.
The could is high even on startup. I deleted the database file and it works now, but eventually increases the holograms anyway.
from holographicdisplays.
What was the content of that file? Were there 70k holograms?
from holographicdisplays.
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.
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.
When did you?
from holographicdisplays.
Sorry, I forgot to link the commit: 20acd2f I did a quick benchmark before and after the change.
from holographicdisplays.
Hmm, hope it will fix my issue 😃
from holographicdisplays.
The commit will not fix the issue, you have to search the cause of the 70k holograms that were spawned.
from holographicdisplays.
And how can I do it? I see nothing pointing to things other than the lag caused by the holograms...
from holographicdisplays.
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.
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.
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)
- Add support for Minecraft 1.20
- 1.19.4 Holo Bug HOT 2
- Minecraft Spigot 1.20 HOT 1
- 1.20 Support HOT 3
- VERSION HOT 1
- Error related to appendItem HOT 1
- Armorstand cant be in each other. HOT 1
- Unexpected error while modifying the channel pipeline.
- Error fatal al iniciar puglin HOT 1
- Cannot invoke "me.filoghost.holographicdisplays.api.hologram.Hologram.getLines()" because "hologram" is null HOT 1
- Not working with Minecraft 1.20.2 HOT 4
- Moving players from one server to another causes "unexpected error while modifying the channel pipeline." HOT 5
- An internal error occured after trying to use any command, and none of my holograms show up. HOT 1
- [BUG] Not compatable with Minecraft 1.20.4 Paper or Spigot HOT 4
- HolographicDisplaysAPI create hologram, hex colors in text. HOT 1
- The plugin does not load in 1.20.4. HOT 6
- [HolographicDisplays] Unexpected error while modifying the channel pipeline. HOT 2
- Farmlimiter support needed HOT 4
- No placeholderapi support on animations.yml HOT 1
- destroying hologram doesn't update for nearby players HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holographicdisplays.