-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.20.1] Leaks and Features list here #3
Comments
Hello, might be worth sorting this list alphabetically? Makes it easier to find out whether a certain mod is affected. |
Will do that next time I generate 👍 |
Would also just recommend reporting the memory leaks to the devs of the relevant mod if they have a public issue tracker. |
I have been doing this upstream (1.21.1), doing on both versions I can't handle alone and most already left 1.20.1. |
Disclaimer for devs: Do NOT implement your fixes based on my implementation, my context is limited to mixins and your mod's business logic affinity.
Leaks
EmiHistory
when client player clonedItemStack.EMPTY
, clear entities on crosshair/hitresult level update, clears oldItemStack#entityRepresentation
from tracked itemstacks atSynchedEntityData
DelegatingDynamicItemAndBlockModel#world
on client level updateClientPacketListener#blue_skies$lastRidden
mixin field and updatesSkiesClientEvents#dungeonAmbientSoundHandler
on server stopped/client player cloneMain#openScreen/handler/oldSelectedSlot
on client player cloneCraftingTerminalHandler#players
AE2WTLibCreativeTab#items
before adding itemsCraftingTerminalHandler#players
BeltExtensionSlot.EventHandlers#playerClone
BLANK_GUI#prevScreen
on client player cloneTDForgeEventHandler#worldLevel
on server stopGeoModel#applyMolangQueries()
DroppedItemCapability
to not leak entitiesRecipesGui#recipeTransferButtons
on client player updateRecipeTransferButton#player
andRecipeTransferButton#parentContainer
on client player clone usingRecipeTransferButton#update()
PlayerEvents#onPlayerClone
Util
variables on server stopItemTileEntityCache#CACHE
andVillagerItem#cachedVillagers
cache on client level updateFindMeModClient#lastRenderedStack
on client level updateWorldAttached#put()
EntityCollector#wrappedLevelsMap
CustomItemRenderer#armorStand/horse/entity
on client level updateCustomItemRenderer#blockEntity
on client level updateCuriosEventHandler#playerClone
ExtendoGripItem#lastActiveDamageSource
EntityDistanceComparator#player
andEntityDTODistanceComparator#player
after usageEntityEmiStack
on client level updateTooltipHandler#processedEvent
on client player cloneCitadelServerData#dataMap
on stopForgeEventHandler#playerClone
BackpackLayerModel#livingEntity
ChannelRegistry#handlers
map on packet closeChannelRegistry#handlers
map on server stoppedSpellBarOverlay#lastSelection
andClientMagicData#spellSelectionManager
on client cloneSyncedSpellData#livingEntity
on player cloneChargeProviderImpl.DISTRIBUTION#networks
on level unloadLivingEntityRenderer#entity
added via mixin on client level updateArmorMainScreen#upgradeOptions
on client player cloneEntity#onRemovedFromWorld()
NetworkManagerImpl#clientReceivables
on player cloneModularUI#entityPlayer
on player updateOccultismCapabilities#onPlayerClone
on player cloneLocationModule#update()
to prevent leak of current chunkMinecraft#level
to create entities onMobTableBuilder#add/addSheep
and updatesMobTableBuilder#level
on level updateCapabilityRegistry.EventHandler#playerClone()
CasterTomeRegistry#reloadTomeData
ChunkMap#serverPlayer/list
after usageEntityRenderer#ENTITY_MAP
and Hydra entity fromHydraModel#hydra
on level updateCorpseRenderer#players/skeletons
on client level updateEnergyNetworkManager#instances
on level unloadFeature (
config/alltheleaks.json
)Note: This will prevent you from finding it at Creative Tab if using ModernFix search tree backed by JEI! - (default: OFF)
Fix
Metrics (Dev Only
-Dalltheleaks.indev=true
)The text was updated successfully, but these errors were encountered: