Description
Spawning a quasar particle emitter either by command or by code (entity client side events or renderers, etc...) causes memory leak
To Reproduce
Steps to reproduce the behavior:
- Create a simple quasar emitter with a particle, no modules needed
- Spawn in a world the emitter by any way possible
Expected Behavior
The ram spikes up upon emitter spawn and never backs down when it gets deleted, if spawned more and more, the entire system crashes, most cases forcing a system reboot
Screenshots
RAM usage graph

System Information
- Veil Version: 3.3.3
- Minecraft Version: 1.21.1
- Loader & Loader Version: Fabric 0.116.9+1.21.1
- Operating System: Linux (Tested for windows 11 too, giving the same result)
- CPU: i9 - 9900KF
- GPU: NVIDIA RTX 3060
- RAM: 32 GB DDR4
Additional Context
I checked with the
VeilRenderSystem.renderer().getParticleManager().getParticleCount();
VeilRenderSystem.renderer().getParticleManager().getEmitterCount();
and they indeed go back to 0 after it despawns the emitter, but ram is still spiked up and never goes back down
Description
Spawning a quasar particle emitter either by command or by code (entity client side events or renderers, etc...) causes memory leak
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The ram spikes up upon emitter spawn and never backs down when it gets deleted, if spawned more and more, the entire system crashes, most cases forcing a system reboot
Screenshots
RAM usage graph
System Information
Additional Context
I checked with the
VeilRenderSystem.renderer().getParticleManager().getParticleCount();
VeilRenderSystem.renderer().getParticleManager().getEmitterCount();
and they indeed go back to 0 after it despawns the emitter, but ram is still spiked up and never goes back down