Create

Create

101M Downloads

Memory leak with funnels on item vaults (0.5.1.h)

Gogolinolett opened this issue ยท 6 comments

commented

Description

Funnels leak memory if they are repeatedly placed and removed. Designs triggering this are for example a popular cobble farm design.

Example contraption that leaks memory:
Example Memory leak
Example No glue view

Heap Summary after a while of server uptime:
HeapSummary

One but not the only spot of the problem:

targetCapability.addListener(new HashableNonNullConsumer<>(this::onHandlerInvalidated, this));

Game Log

Not required to reproduce

Debug Information

Client Info
Create:
	Mod Version: 0.5.1h
	Forge Version: 47.2.18
	Minecraft Version: 1.20.1

Graphics:
	Flywheel Version: 0.6.11-13
	Flywheel Backend: INSTANCING
	OpenGL Renderer: NVIDIA GeForce RTX 2070/PCIe/SSE2
	OpenGL Version: 4.6.0 NVIDIA 536.23
	Graphics Mode: options.graphics.fast

System Information:
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 17.0.8, Microsoft
	JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx11872m -Xms256m
	Memory: 2065284528 bytes (1969 MiB) / 5117050880 bytes (4880 MiB) up to 12448694272 bytes (11872 MiB)
	Total Memory: 28543168512 bytes (27209 MiB) / 34282242048 bytes (32680 MiB)
	CPU: AMD Ryzen 5 5600X 6-Core Processor @ 3.55 GHz; 6 cores / 12 threads on 1 socket(s)
	Graphics card #0: NVIDIA GeForce RTX 2070 (NVIDIA (0x10de)); 4095.00 MB of VRAM

Other Mods:
	Saturn: 0.1.3
	YUNG's Better Dungeons: 1.20-Forge-4.0.4
	Stackable Potions: 1.0.0
	Global GameRules: 8.0.0.11
	SuperMartijn642's Config Library: 1.1.8
	Alex's Mobs: 1.22.8
	Simple Magnets: 1.1.11
	MIMI Mod: 1.20.1-4.1.0
	Player Animator: 1.0.2-rc1+1.20
	Hit Indication: 1.4
	Beautified Chat Client: 2.5
	Not Enough Recipe Book: 0.3
	Stalwart Dungeons: 1.2.8
	Aquaculture Delight: 1.0.0
	Rubidium (Embeddium): 0.7.1
	Sound Physics Remastered: 1.20.1-1.4.2
	ModernFix: 5.18.1+mc1.20.1
	YUNG's API: 1.20-Forge-4.0.5
	Gateways To Eternity: 4.2.5
	MaxHealthFix: 12.0.3
	Wither Skeleton Tweaks: 9.1.0
	Kambrik: 6.1.1+1.20.1
	Anti Mob Farm: 1.3.4
	clickadv mod: 1.20.1-3.8
	Balm: 7.3.6
	Chat Heads: 0.12.3
	YUNG's Better Nether Fortresses: 1.20-Forge-2.0.6
	Paraglider: 20.1.3
	Cloth Config v10 API: 11.1.118
	ChoiceTheorem's Overhauled Village: 3.4.3
	Supplementaries: 1.20-2.8.17
	Embeddium: 0.3.31+mc1.20.1
	Refined Storage: 1.12.4
	stylecolonies mod: 1.4
	Dimension Viewer: 1.4.0
	Structure Gel API: 2.16.2
	Spice of Life: Apple Pie Edition: 1.20.1-2.3.0
	Advancement Plaques: 1.5.1
	Better Ping Display: 1.1
	Xaero's Map - Waystones Compability: 1.0
	Torchmaster: 20.1.6
	Handcrafted: 3.0.6
	Combat Roll: 1.3.2+1.20.1
	Repurposed Structures: 7.1.15+1.20.1-forge
	Better Compatibility Checker: 4.0.8
	Loot Journal: 3.1.1
	Explorify: 1.6.0
	SuperMartijn642's Core Lib: 1.1.17
	YUNG's Bridges: 1.20-Forge-4.0.3
	Resourcefulconfig: 2.1.2
	Highlighter: 1.1.9
	Telepass: 2.1.2
	Curios API: 5.9.1+1.20.1
	Right Click Harvest: 3.2.3+1.20.1-forge
	Oculus: 1.7.0
	Searchables: 1.0.3
	YUNG's Extras: 1.20-Forge-4.0.3
	Apothic Attributes: 1.3.5
	Chunk Pregenerator: 1.20-4.4.3
	WorldEdit: 7.2.15+6463-5ca4dff
	Biome Spawn Point: 2.2
	NaturesAura: 39.4
	Refined Cooking: 4.0.0
	Global XP: 1.11
	Chimes: 2.0.1
	Corn Delight: 1.0.4-1.20.1
	Enhanced AI: 2.4.7
	Masik's Puzzle Dungeon: 1.2.0
	Jade Addons: 5.2.2
	Krypton Reforged: 0.2.3
	L2 Library: 2.4.14
	Fast Leaf Decay: 32
	Disenchanting: 2.2.3
	Cuisine Delight: 1.1.14
	YUNG's Better Mineshafts: 1.20-Forge-4.0.4
	Create Slice & Dice: 3.2.0
	Macaw's Lights and Lamps: 1.1.0
	YUNG's Better Jungle Temples: 1.20-Forge-2.0.5
	Elytra Slot: 6.4.0+1.20.1
	Kiwi Library: 11.8.11+forge
	Better Animations Collection: 8.0.0
	Create: Bells & Whistles: 0.4.3-1.20.x
	Double Doors: 5.7
	Fastload-Reforged: 3.4.0
	FTB Library: 2001.2.2
	Mutant Monsters: 8.0.7
	Ender Trigon: 1.20.1-1.1
	Mine and Slash: 5.5.17
	Just Enough Items: 15.3.0.8
	Multi-Piston: 1.20-1.2.43-RELEASE
	AttributeFix: 21.0.4
	Goblin Traders: 1.9.3
	Caelus API: 3.2.0+1.20.1
	Kobolds: 2.10.14
	Falling Leaves: 2.1.0
	Nature's Compass: 1.20.1-1.11.2-forge
	Jumpy Boats: 1.20.0-1.0.5
	Lightman's Currency: 1.20.1-2.2.2.1a
	Farming for Blockheads: 14.0.2
	Neruina: 2.0.0-beta.10
	Friendly Griefing: 1.0.2
	Quests Additions: 1.4.3a
	Catalogue: 1.8.0
	JeiTweaker: 8.0.6
	CraftTweaker: 14.0.40
	FTBQuestsOptimizer: 2.0.3-1.20.1
	Puzzles Access Api: 8.0.7
	When Dungeons Arise: Seven Seas: 1.0.2
	Footprint Particle: 0.5.1-mc1.20
	Axes Are Weapons: 1.7.3
	No Fog: 1.3.6+1.20.1-forge
	When Dungeons Arise: 2.1.58-1.20.x
	Drippy Loading Screen: 3.0.1
	Smoothchunk mod: 1.20.1-3.6
	Logprot: 1.4
	EMI: 1.1.7+1.20.1+forge
	ItemPhysicLite: 1.6.4
	Mouse Tweaks: 2.25.1
	Forge Config Screens: 8.0.2
	Better Combat: 1.8.5+1.20.1
	FTB Quests: 2001.4.6
	Easier Sleeping: 2.1.3
	No Chat Reports: 1.20.1-v2.2.2
	Shoulder Surfing Reloaded: 1.20.1-4.1.5
	Overworld Mirror: 1.7.0.23
	More Sniffer Flowers: 1.4.4
	SpectreLib: 0.13.15+1.20.1
	CorgiLib: 4.0.1.3
	NBT Autocomplete: 1.2.1
	Fast Paintings: 1.20-1.2.7
	Domum Ornamentum: 1.20.1-1.0.186-RELEASE
	Kotlin For Forge: 4.11.0
	NotEnoughAnimations: 1.7.4
	Xaero's Minimap: 24.2.0
	ServerConfig Updater: 4.0.2
	Polymorph: 0.49.5+1.20.1
	Just Enough Professions (JEP): 3.0.1
	EntityCulling: 1.6.6
	Canary: 0.3.3
	Suggestion Tweaker: 1.20-1.5.2
	Structurize: 1.20.1-1.0.737-BETA
	CTE2 Essentials: 1.0.5
	Library Of Exile: 1.4.3
	ImmediatelyFast: 1.2.18+1.20.4
	FastFurnace: 8.0.2
	The Lost Castle: 1.0.2
	Structory: Towers: 1.0.7
	Ocean's Delight: 1.0.2-1.20
	AppleSkin: 2.5.1+mc1.20.1
	Showcase Item: 1.20.1-1.2
	More Mob Variants: 1.3.0.1
	Lootr: 0.7.34.85
	Modern UI: 3.10.1.4
	Puzzles Lib: 8.1.20
	Aquaculture 2: 2.5.1
	FriendlyFire: 18.0.7
	Realm RPG: Dragon Wyrms: 1.0.1
	MineMenu: 1.12.3
	Extreme Sound Muffler: 3.41-forge-1.20
	CosmeticArmorReworked: 1.20.1-v1a
	chunksending mod: 1.20.1-2.8
	DEUF - Duplicate Entity UUID Fix: 1.20.1-1.3
	Aquamirae: 6.API15
	Default Options: 18.0.1
	Stellarity: 2.0d
	Sky Villages: 1.0.4
	KumaAPI: 20.1.8
	Blue Skies: 1.3.31
	Transmog: 1.3.0+1.20
	Embeddium++: 1.2.13
	YUNG's Better Witch Huts: 1.20-Forge-3.0.3
	NetherPortalFix: 13.0.1
	GeckoLib 4: 4.4.7
	Dont Clear Chat History: 1
	Illager Invasion: 8.0.5
	Floral Enchantment: 1.20.1-1.4.3
	Suggestion Provider Fix: 1.20.1-1.0.0
	Doggy Talents Next: 1.18.18
	YUNG's Better Ocean Monuments: 1.20-Forge-3.0.4
	Connectivity Mod: 1.20.1-5.5
	Tips: 12.0.5
	Incendium: 5.3.5
	Sophisticated Core: 0.6.22.611
	InsaneLib: 1.13.5
	Bow Infinity Fix: 2.6.0
	FindMe: 3.2.1
	Structure Essentials mod: 1.20.1-3.4
	Xaero's World Map: 1.38.8
	JRFTL: 1.6.0
	Controlling: 12.0.2
	CookingForBlockheads: 16.0.6
	Prism: 1.0.5
	Placebo: 8.6.2
	Citadel: 2.5.4
	Temporary Spawners: 1.5.1
	CTE2 Modpack Armors: 1.0.3
	MixinExtras: 0.3.6
	Bookshelf: 20.2.13
	Sophisticated Backpacks: 3.20.5.1044
	AchievementOptimizer: 1.0.5
	U Team Core: 5.1.4.299
	Macaw's Doors: 1.1.1
	Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1
	Melody: 1.0.2
	FTB Teams: 2001.3.0
	MmmMmmMmmmmm: 1.20-1.8.17b
	Konkrete: 1.8.0
	Experience Bug Fix: 46.2.2
	Air Hop: 8.0.2
	Undergarden Delight: 1.0.0
	Equipment Compare: 1.3.7
	Macaw's Bridges: 3.0.0
	Farmer's Delight: 1.20.1-1.2.4
	Customizable Elytra: 2.1.2+1.20
	AmbientSounds: 6.0.2
	Crash Utilities: 8.1.4
	Ender's Delight: 1.0.3
	Village Spawn Point: 4.2
	Bountiful: 6.0.3+1.20.1
	Model Gap Fix: 1.15
	UI Library Mod: 1.20.1-1.0.156-RELEASE
	Patchouli: 1.20.1-84-FORGE
	Supplementaries Squared: 1.20-1.1.14
	Collective: 7.64
	Flan: 1.20.1-1.10.6
	SimpleHats: 1.20.1-0.3.0
	Joy of Painting: 1.20.1-1.0.0
	FTB Ultimine: 2001.1.5
	YUNG's Better Strongholds: 1.20-Forge-4.0.3
	Passive Shield: 3.4
	Resourceful Lib: 2.1.25
	Starter Kit: 6.7
	Deeper and Darker: 1.2.1
	Architectury: 9.2.14
	AI-Improvements: 0.5.2
	More Overlays Updated: 1.22.7-mc1.20.2
	Cupboard utilities: 1.20.1-2.6
	First Join Message: 3.5
	The Undergarden: 0.8.14
	Chunk Loaders: 1.2.8a
	Inventory Essentials: 8.2.6
	Framework: 0.7.6
	Anvil Never Too Expensive: 1.1
	Bad Wither No Cookie Reloaded: 3.17.0
	Let Me Despawn: 1.2.1
	Yeetus Experimentus: 2.3.1-build.6+mc1.20.1
	JadeColonies: 1.4.2
	Better Advancements: 0.3.2.161
	CraftPresence: 2.4.2
	Simple Inventory Sorter: 23.0.1
	TrashSlot: 15.1.0
	Amendments: 1.20-1.2.8
	Risk of Rain Mobs: 1.1.2
	Sophisticated Storage: 0.10.25.804
	QuickStack: 1.20.1-1
	Item Filters: 2001.1.0-build.59
	Easy Magic: 8.0.1
	Obscure API: 15
	GeckoLibIrisCompat: 1.0.0
	Waystones: 14.1.3
	Monster Plus: 1.0
	Structory: 1.3.5
	Fast Suite: 5.0.1
	Clumps: 12.0.0.4
	Comforts: 6.3.5+1.20.1
	CrackersLib: 1.20.1-0.3.2.1
	Aggro Indicator: 1.20.x-1.0.0.0
	YUNG's Better Desert Temples: 1.20-Forge-3.0.3
	Explorer's Compass: 1.20.1-1.3.3-forge
	Farsight mod: 1.20.1-3.6
	Toast Control: 8.0.3
	Terralith: 2.5.1
	What Are They Up To: 1.20.1-1.1.1
	3d-Skin-Layers: 1.6.6
	Traveler's Titles: 1.20-Forge-4.0.2
	Too Fast: 0.4.3.5
	Death Backup: 3.3
	Friends&Foes: 2.0.10
	Chococraft 4: 0.9.11
	CraftingTweaks: 18.2.4
	EnchantmentDescriptions: 17.0.16
	Sebastrn Lib: 4.0.0
	Moonlight Library: 1.20-2.12.2
	Mysterious Mountain Lib: 1.4.7-1.20.1
	Night Lights: 1.1
	MixinSquared: 0.1.1
	Jade: 11.9.3+forge
	CreativeCore: 2.11.30
	Beds Don't Explode: 1.0
	Smooth Boot (Reloaded): 0.0.4
	Nether's Delight: 1.20.1-4.0
	Highlight: 2.0.1
	Iceberg: 1.1.21
	Legendary Tooltips: 1.4.5
	Fast Workbench: 8.0.4
	Inventory HUD+: 3.4.22
	Better Archeology: 1.1.9-1.20.1
	Universal Enchants: 8.0.0
	FancyMenu: 3.2.3
	CoroUtil: 1.20.1-1.3.7
	MineColonies: 1.20.1-1.1.598-BETA
	Better Tridents: 8.0.1
	Creeper Overhaul: 3.0.2
	Ferrite Core: 6.0.1
	Enhanced Celestials: 5.0.0.4
	DamageVignette: 2.0.2
	Crabber's Delight: 1.1.5
	Packet Fixer: 1.4.2
	No Telemetry: 1.8.0
	Load My Resources: 1.0.4
	OpenLoader: 19.0.4
	FlickerFix: 4.0.1
	Create Crafts & Additions: 1.20.1-1.2.4
Server Info
Create:
	Mod Version: 0.5.1h
	Forge Version: 47.2.18
	Minecraft Version: 1.20.1

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.2, Eclipse Adoptium
	JVM Flags: 7 total; -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+ZGenerational -XX:MaxGCPauseMillis=10 -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx8192m
	Memory: 2600468480 bytes (2480 MiB) / 8589934592 bytes (8192 MiB) up to 8589934592 bytes (8192 MiB)
	Total Memory: 24050614272 bytes (22927 MiB) / 34259685376 bytes (32659 MiB)
	CPU: AMD Ryzen 5 3600 6-Core Processor @ 3.59 GHz; 6 cores / 12 threads on 1 socket(s)
	Graphics card #0: AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc. (0x1002)); 4095.00 MB of VRAM

Other Mods:
	Saturn: 0.1.3
	YUNG's Better Dungeons: 1.20-Forge-4.0.4
	Stackable Potions: 1.0.0
	Global GameRules: 8.0.0.11
	SuperMartijn642's Config Library: 1.1.8
	Alex's Mobs: 1.22.8
	Simple Magnets: 1.1.11
	MIMI Mod: 1.20.1-4.1.0
	Player Animator: 1.0.2-rc1+1.20
	Hit Indication: 1.4
	Beautified Chat Client: 2.5
	Not Enough Recipe Book: 0.3
	Stalwart Dungeons: 1.2.8
	Aquaculture Delight: 1.0.0
	Rubidium (Embeddium): 0.7.1
	Sound Physics Remastered: 1.20.1-1.4.2
	ModernFix: 5.18.1+mc1.20.1
	YUNG's API: 1.20-Forge-4.0.5
	Gateways To Eternity: 4.2.5
	MaxHealthFix: 12.0.3
	Wither Skeleton Tweaks: 9.1.0
	Kambrik: 6.1.1+1.20.1
	Anti Mob Farm: 1.3.4
	clickadv mod: 1.20.1-3.8
	Balm: 7.3.6
	Just Enough Resources: 1.4.0.247
	Chat Heads: 0.12.3
	YUNG's Better Nether Fortresses: 1.20-Forge-2.0.6
	Paraglider: 20.1.3
	Cloth Config v10 API: 11.1.118
	ChoiceTheorem's Overhauled Village: 3.4.3
	Supplementaries: 1.20-2.8.17
	Embeddium: 0.3.29+mc1.20.1
	Refined Storage: 1.12.4
	stylecolonies mod: 1.4
	Dimension Viewer: 1.4.0
	Structure Gel API: 2.16.2
	Spice of Life: Apple Pie Edition: 1.20.1-2.3.0
	Advancement Plaques: 1.5.1
	Better Ping Display: 1.1
	Xaero's Map - Waystones Compability: 1.0
	Torchmaster: 20.1.6
	Handcrafted: 3.0.6
	Combat Roll: 1.3.2+1.20.1
	Repurposed Structures: 7.1.15+1.20.1-forge
	Better Compatibility Checker: 4.0.8
	Loot Journal: 3.1.1
	Explorify: 1.6.0
	SuperMartijn642's Core Lib: 1.1.17
	YUNG's Bridges: 1.20-Forge-4.0.3
	Resourcefulconfig: 2.1.2
	Highlighter: 1.1.9
	Telepass: 2.1.2
	Curios API: 5.9.1+1.20.1
	Right Click Harvest: 3.2.3+1.20.1-forge
	Oculus: 1.7.0
	Searchables: 1.0.3
	YUNG's Extras: 1.20-Forge-4.0.3
	Apothic Attributes: 1.3.5
	Chunk Pregenerator: 1.20-4.4.3
	WorldEdit: 7.2.15+6463-5ca4dff
	Biome Spawn Point: 2.2
	NaturesAura: 39.4
	Refined Cooking: 4.0.0
	Global XP: 1.11
	Chimes: 2.0.1
	Corn Delight: 1.0.4-1.20.1
	Enhanced AI: 2.4.7
	Masik's Puzzle Dungeon: 1.2.0
	Jade Addons: 5.2.2
	Krypton Reforged: 0.2.3
	L2 Library: 2.4.14
	Fast Leaf Decay: 32
	Disenchanting: 2.2.3
	Cuisine Delight: 1.1.14
	YUNG's Better Mineshafts: 1.20-Forge-4.0.4
	Create Slice & Dice: 3.2.0
	Macaw's Lights and Lamps: 1.1.0
	YUNG's Better Jungle Temples: 1.20-Forge-2.0.5
	Elytra Slot: 6.4.0+1.20.1
	Kiwi Library: 11.8.11+forge
	Better Animations Collection: 8.0.0
	Create: Bells & Whistles: 0.4.3-1.20.x
	Double Doors: 5.7
	Fastload-Reforged: 3.4.0
	FTB Library: 2001.2.2
	Mutant Monsters: 8.0.7
	Ender Trigon: 1.20.1-1.1
	Advanced XRay: 1.20.1-2.18.1-build.22
	Mine and Slash: 5.5.17
	Just Enough Items: 15.3.0.8
	Multi-Piston: 1.20-1.2.43-RELEASE
	AttributeFix: 21.0.4
	Goblin Traders: 1.9.3
	Caelus API: 3.2.0+1.20.1
	Kobolds: 2.10.14
	Falling Leaves: 2.1.0
	Nature's Compass: 1.20.1-1.11.2-forge
	Jumpy Boats: 1.20.0-1.0.5
	Bad Packets: 0.4.3
	Lightman's Currency: 1.20.1-2.2.2.1a
	Farming for Blockheads: 14.0.2
	Neruina: 2.0.0-beta.10
	Friendly Griefing: 1.0.2
	Quests Additions: 1.4.3a
	Catalogue: 1.8.0
	JeiTweaker: 8.0.6
	CraftTweaker: 14.0.40
	FTBQuestsOptimizer: 2.0.3-1.20.1
	Puzzles Access Api: 8.0.7
	When Dungeons Arise: Seven Seas: 1.0.2
	Footprint Particle: 0.5.1-mc1.20
	Axes Are Weapons: 1.7.3
	No Fog: 1.3.6+1.20.1-forge
	When Dungeons Arise: 2.1.58-1.20.x
	Drippy Loading Screen: 3.0.1
	Smoothchunk mod: 1.20.1-3.6
	Logprot: 1.4
	EMI: 1.1.7+1.20.1+forge
	ItemPhysicLite: 1.6.4
	Mouse Tweaks: 2.25.1
	Forge Config Screens: 8.0.2
	Better Combat: 1.8.5+1.20.1
	FTB Quests: 2001.4.6
	Easier Sleeping: 2.1.3
	No Chat Reports: 1.20.1-v2.2.2
	Shoulder Surfing Reloaded: 1.20.1-4.1.5
	Overworld Mirror: 1.7.0.23
	More Sniffer Flowers: 1.4.4
	SpectreLib: 0.13.15+1.20.1
	CorgiLib: 4.0.1.3
	NBT Autocomplete: 1.2.1
	Fast Paintings: 1.20-1.2.7
	e4mc: 5.2.1
	Domum Ornamentum: 1.20.1-1.0.186-RELEASE
	Kotlin For Forge: 4.11.0
	NotEnoughAnimations: 1.7.4
	Xaero's Minimap: 24.2.0
	ServerConfig Updater: 4.0.2
	Polymorph: 0.49.5+1.20.1
	Just Enough Professions (JEP): 3.0.1
	EntityCulling: 1.6.6
	Canary: 0.3.3
	Suggestion Tweaker: 1.20-1.5.2
	Structurize: 1.20.1-1.0.737-BETA
	CTE2 Essentials: 1.0.5
	Library Of Exile: 1.4.3
	ImmediatelyFast: 1.2.18+1.20.4
	FastFurnace: 8.0.2
	The Lost Castle: 1.0.2
	Structory: Towers: 1.0.7
	Ocean's Delight: 1.0.2-1.20
	AppleSkin: 2.5.1+mc1.20.1
	Showcase Item: 1.20.1-1.2
	More Mob Variants: 1.3.0.1
	Lootr: 0.7.34.85
	Embeddium Extra: 0.5.4.3+mc1.20.1-build.121
	Modern UI: 3.10.1.4
	Puzzles Lib: 8.1.20
	Aquaculture 2: 2.5.1
	FriendlyFire: 18.0.7
	Realm RPG: Dragon Wyrms: 1.0.1
	MineMenu: 1.12.3
	Extreme Sound Muffler: 3.41-forge-1.20
	CosmeticArmorReworked: 1.20.1-v1a
	chunksending mod: 1.20.1-2.8
	DEUF - Duplicate Entity UUID Fix: 1.20.1-1.3
	Aquamirae: 6.API15
	Default Options: 18.0.1
	Stellarity: 2.0d
	Sky Villages: 1.0.4
	KumaAPI: 20.1.8
	Blue Skies: 1.3.31
	Transmog: 1.3.0+1.20
	Embeddium++: 1.2.13
	YUNG's Better Witch Huts: 1.20-Forge-3.0.3
	NetherPortalFix: 13.0.1
	GeckoLib 4: 4.4.7
	Dont Clear Chat History: 1
	Illager Invasion: 8.0.5
	Floral Enchantment: 1.20.1-1.4.3
	Suggestion Provider Fix: 1.20.1-1.0.0
	Doggy Talents Next: 1.18.18
	YUNG's Better Ocean Monuments: 1.20-Forge-3.0.4
	Connectivity Mod: 1.20.1-5.5
	Tips: 12.0.5
	Incendium: 5.3.5
	Sophisticated Core: 0.6.22.611
	InsaneLib: 1.13.5
	Bow Infinity Fix: 2.6.0
	FindMe: 3.2.1
	Structure Essentials mod: 1.20.1-3.4
	Xaero's World Map: 1.38.8
	JRFTL: 1.6.0
	Controlling: 12.0.2
	CookingForBlockheads: 16.0.6
	Prism: 1.0.5
	Placebo: 8.6.2
	Citadel: 2.5.4
	Temporary Spawners: 1.5.1
	CTE2 Modpack Armors: 1.0.3
	MixinExtras: 0.3.6
	EMI Trades: 1.2.1+mc1.20.1
	Bookshelf: 20.2.13
	Sophisticated Backpacks: 3.20.5.1044
	AchievementOptimizer: 1.0.5
	U Team Core: 5.1.4.299
	Macaw's Doors: 1.1.1
	Create: Steam 'n' Rails: 1.6.4+forge-mc1.20.1
	Melody: 1.0.2
	FTB Teams: 2001.3.0
	MmmMmmMmmmmm: 1.20-1.8.17b
	Konkrete: 1.8.0
	Experience Bug Fix: 46.2.2
	Air Hop: 8.0.2
	Undergarden Delight: 1.0.0
	Equipment Compare: 1.3.7
	Macaw's Bridges: 3.0.0
	Farmer's Delight: 1.20.1-1.2.4
	Customizable Elytra: 2.1.2+1.20
	AmbientSounds: 6.0.2
	Crash Utilities: 8.1.4
	Ender's Delight: 1.0.3
	Village Spawn Point: 4.2
	Bountiful: 6.0.3+1.20.1
	Model Gap Fix: 1.15
	UI Library Mod: 1.20.1-1.0.156-RELEASE
	Patchouli: 1.20.1-84-FORGE
	Supplementaries Squared: 1.20-1.1.14
	Collective: 7.84
	Flan: 1.20.1-1.10.6
	SimpleHats: 1.20.1-0.3.0
	Joy of Painting: 1.20.1-1.0.0
	FTB Ultimine: 2001.1.5
	YUNG's Better Strongholds: 1.20-Forge-4.0.3
	Passive Shield: 3.4
	Resourceful Lib: 2.1.25
	Starter Kit: 6.7
	Deeper and Darker: 1.2.1
	Architectury: 9.2.14
	AI-Improvements: 0.5.2
	More Overlays Updated: 1.22.7-mc1.20.2
	Cupboard utilities: 1.20.1-2.6
	First Join Message: 3.5
	The Undergarden: 0.8.14
	Chunk Loaders: 1.2.8a
	Inventory Essentials: 8.2.6
	Framework: 0.7.6
	Anvil Never Too Expensive: 1.1
	Bad Wither No Cookie Reloaded: 3.17.0
	Let Me Despawn: 1.2.1
	Yeetus Experimentus: 2.3.1-build.6+mc1.20.1
	JadeColonies: 1.4.2
	Better Advancements: 0.3.2.161
	CraftPresence: 2.4.2
	Simple Inventory Sorter: 23.0.1
	Full Brightness Toggle: 4.2
	TrashSlot: 15.1.0
	Amendments: 1.20-1.2.8
	Risk of Rain Mobs: 1.1.2
	Sophisticated Storage: 0.10.25.804
	QuickStack: 1.20.1-1
	Item Filters: 2001.1.0-build.59
	Easy Magic: 8.0.1
	Obscure API: 15
	GeckoLibIrisCompat: 1.0.0
	Waystones: 14.1.3
	Monster Plus: 1.0
	Structory: 1.3.5
	Fast Suite: 5.0.1
	Clumps: 12.0.0.4
	Comforts: 6.3.5+1.20.1
	CrackersLib: 1.20.1-0.3.2.1
	Aggro Indicator: 1.20.x-1.0.0.0
	YUNG's Better Desert Temples: 1.20-Forge-3.0.3
	Explorer's Compass: 1.20.1-1.3.3-forge
	Farsight mod: 1.20.1-3.6
	Toast Control: 8.0.3
	What Are They Up To: 1.20.1-1.1.1
	3d-Skin-Layers: 1.6.6
	Traveler's Titles: 1.20-Forge-4.0.2
	Too Fast: 0.4.3.5
	Death Backup: 3.3
	Friends&Foes: 2.0.10
	Chococraft 4: 0.9.11
	CraftingTweaks: 18.2.4
	EnchantmentDescriptions: 17.0.16
	Sebastrn Lib: 4.0.0
	Moonlight Library: 1.20-2.12.2
	Mysterious Mountain Lib: 1.4.7-1.20.1
	Night Lights: 1.1
	MixinSquared: 0.1.1
	Jade: 11.9.3+forge
	CreativeCore: 2.11.30
	Beds Don't Explode: 1.0
	Smooth Boot (Reloaded): 0.0.4
	Nether's Delight: 1.20.1-4.0
	Highlight: 2.0.1
	EMI Enchants: 1.0.0
	Iceberg: 1.1.21
	Legendary Tooltips: 1.4.5
	Fast Workbench: 8.0.4
	Inventory HUD+: 3.4.22
	Better Archeology: 1.1.9-1.20.1
	Universal Enchants: 8.0.0
	FancyMenu: 3.2.3
	CoroUtil: 1.20.1-1.3.7
	MineColonies: 1.20.1-1.1.598-BETA
	Better Tridents: 8.0.1
	Creeper Overhaul: 3.0.2
	Ferrite Core: 6.0.1
	Enhanced Celestials: 5.0.0.4
	DamageVignette: 2.0.2
	Crabber's Delight: 1.1.5
	Packet Fixer: 1.4.2
	No Telemetry: 1.8.0
	Load My Resources: 1.0.4
	OpenLoader: 19.0.4
	FlickerFix: 4.0.1
	Create Crafts & Additions: 1.20.1-1.2.4
commented

HashableNonNullConsumer should be preventing this

commented

(I found this with @Gogolinolett) When I analyzed the heap dump, I found that there were thousands of listeners in the capability.
Don't know much about forge modding, but seems to me like the listener always gets added, but not removed

commented

(I found this with @Gogolinolett) When I analyzed the heap dump, I found that there were thousands of listeners in the capability. Don't know much about forge modding, but seems to me like the listener always gets added, but not removed

Are there multiple duplicate listeners for the same capability? that might be the issue here

commented

grafik
Screenshot of heap dump, it's 10gb so it takes ages to load. But yes, same capability, 10 bajillion listeners.

commented

Since HNNC exists, this should be as easy as grabbing the existing listeners, checking if it contains the HNNC and if it does then just returning, that way the same invalidation listener isn't being added to the same capability over and over again

commented

Screenshot of GC Root of a leaked FunnelBlockEntity

grafik