Embeddium

Embeddium

37M Downloads

[1.19.2 Forge 43.3.2] Memory leak related to chunk generation.

Quartofel opened this issue · 3 comments

commented

Getting a consistent console output about memory leak during new chunk generation:

[Render thread/WARN] [me.je.mo.so.cl.ut.NativeBuffer/]: Reclaimed 1440 bytes at address 2636667361280 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:2514)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.util.NativeBuffer.<init>(NativeBuffer.java:30)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.util.NativeBuffer.copy(NativeBuffer.java:36)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferBuilder.pop(VertexBufferBuilder.java:104)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:95)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:196)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:283)
TRANSFORMER/[email protected]+mc1.19.2/me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:325)
java.base/java.lang.Thread.run(Thread.java:1623)

I am not code legible enough to make anything out of it, but maybe you'll get something useful out of it.
Just in case, a modlist:

Mods:
  [✔️] advanced-debug-2.0.1.jar
  [✔️] AgeingSpawners-1.19.2-1.2.4.jar
  [✔️] AI-Improvements-1.19.2-0.5.2.jar
  [✔️] alexsdelight-1.4.1.jar
  [✔️] alexsmobs-1.21.1.jar
  [✔️] allurement-1.19.2-3.2.1.jar
  [✔️] alternate-current-mc1.19-1.7.0.jar
  [✔️] AmbientEnvironment-forge-1.19.2-8.0+3.jar
  [✔️] AmbientSounds_FORGE_v5.2.13_mc1.19.2.jar
  [✔️] Amplified_Nether_v1.2.jar
  [✔️] appleskin-forge-mc1.19-2.4.2.jar
  [✔️] aquatictorches-1.19-1.1.0.jar
  [✔️] architectury-6.5.85-forge.jar
  [✔️] ArmorSoundTweak-6.0.0-forge.jar
  [✔️] AttributeFix-Forge-1.19.2-17.2.7.jar
  [✔️] AutoRegLib-1.8.2-55.jar
  [✔️] bedsdontexplode-1.19.x-1.0.jar
  [✔️] bellsandwhistles-v0.4.1-1.19.2.jar
  [✔️] bettercombat-forge-1.7.1+1.19.jar
  [✔️] betterfog-1.19.2-1.1.2.jar
  [✔️] betterfpsdist-1.19.2-4.0.jar
  [✔️] BetterTridents-v4.0.2-1.19.2-Forge.jar
  [✔️] BiomesOPlenty-1.19.2-17.1.2.544.jar
  [✔️] blueprint-1.19.2-6.2.0.jar
  [✔️] boatload-1.19.2-4.2.2.jar
  [✔️] Bookshelf-Forge-1.19.2-16.3.20.jar
  [✔️] breezy-1.19.2-1.0.6.jar
  [✔️] BrewinAndChewin-1.19-2.0.jar
  [✔️] caelus-forge-1.19.2-3.0.0.6.jar
  [✔️] cameraoverhaul-1.0-1.19.2.jar
  [✔️] canary-mc1.19.2-0.2.8.jar
  [✔️] catalogue-1.7.0-1.19.2.jar
  [✔️] celestial_1.19_forge-1.3.6.jar
  [✔️] ChickenNerf-Reforged+1.19.2-1.0.0.jar
  [✔️] chunksending-1.19.2-2.7.jar
  [✔️] CIT+Reforged+1.19.jar
  [✔️] citadel-2.1.4-1.19.jar
  [✔️] clean_tooltips-1.2-forge-1.19.2.jar
  [✔️] clear-skies-forge-mc119-2.0.95.jar
  [✔️] clientcrafting-1.19.2-1.6.jar
  [✔️] cloth-config-8.3.103-forge.jar
  [✔️] Clumps-forge-1.19.2-9.0.0+14.jar
  [✔️] ColdSweat-2.2.jar
  [✔️] collective-1.19.2-7.3.jar
  [✔️] comforts-forge-6.0.6+1.19.2.jar
  [✔️] configured-2.1.1-1.19.2.jar
  [✔️] connectedness-2.0.1a.jar
  [✔️] connectivity-1.19.2-4.6.jar
  [✔️] Continents_1.20.2_v1.1.3.jar
  [✔️] Controlling-forge-1.19.2-10.0+7.jar
  [✔️] corpse-1.19.2-1.0.0.jar
  [✔️] CraftTweaker-forge-1.19.2-10.1.50.jar
  [✔️] create-1.19.2-0.5.1.f.jar
  [✔️] createaddition-1.19.2-1.1.1.jar
  [✔️] create-confectionery1.19.2_v1.0.9.jar
  [✔️] createdeco-1.3.3-1.19.2.jar
  [✔️] createdieselgenerators-1.19.2-1.2c.jar
  [✔️] Create-Guardian-Beam-Defense-1.2.3b.jar
  [✔️] create-interiors-v0.3.1-1.19.2.jar
  [✔️] createlowheated-forge-1.19.2-230713T23.jar
  [✔️] createpickywheels-forge-1.19.2-231003T22.jar
  [✔️] create-structures-0.1.0.jar
  [✔️] CreateTweaker-1.19.2-3.0.0.7.jar
  [✔️] CreativeCore_FORGE_v2.9.3_mc1.19.2.jar
  [✔️] cupboard-1.19.2-2.1.jar
  [✔️] curios-forge-1.19.2-5.1.4.2.jar
  [✔️] CuriosQuarkOBP-1.19.2-1.2.4.jar
  [✔️] curiouslanterns-1.19.2-1.3.3.jar
  [✔️] cursery-1.19.2-3.1.jar
  [✔️] darkness-forge-mc119-2.0.101.jar
  [✔️] dashloader-4.1.3+1.19.jar
  [✔️] Decorative+Blocks-forge-1.19.2-3.0.0.jar
  [✔️] despawn_tweaker-1.19.2-0.0.5.jar
  [✔️] despawningeggshatch-1.19.2-4.2.jar
  [✔️] deuf-1.19.2-1.3.jar
  [✔️] DiagonalFences-v4.2.6-1.19.2-Forge.jar
  [✔️] DiagonalWindows-v4.0.2-1.19.2-Forge.jar
  [✔️] dimdungeons-179-forge-1.19.0.jar
  [✔️] Ding-1.19.2-Forge-1.4.1.jar
  [✔️] dismountentity-1.19.2-3.0.jar
  [✔️] do-a-barrel-roll-2.6.2+1.19.2-forge.jar
  [✔️] dont_break_items-1.19.2-1.19.4-1.1.jar
  [✔️] DripSounds-1.19-0.3.0.jar
  [✔️] DynamicTrees-1.19.2-1.1.0-BETA10.jar
  [✔️] DynamicTreesBOP-1.19.2-3.1.2.jar
  [✔️] DynamicTreesPlus-1.19.2-1.1.3.jar
  [✔️] DynamicTreesQuark-1.19.2-2.4.0-Beta1.jar
  [✔️] DynamicTrees-Terralith-1.19.2-1.1.0.jar
  [✔️] e4mc-4.0.1+1.19.4-forge.jar
  [✔️] EasyMagic-v4.3.3-1.19.2-Forge.jar
  [✔️] eatinganimation-1.19-3.1.0.jar
  [✔️] eerreforged-1.19-1.0.5-all.jar
  [✔️] effective_fg-1.3.4.jar
  [✔️] elenaidodge2-1.0.2.jar
  [✔️] elytraslot-forge-6.1.1+1.19.2.jar
  [✔️] embeddium-0.2.5+mc1.19.2.jar
  [✔️] enchantment_lore_forge-1.19-1.1.jar
  [✔️] endertrigon-1.0.jar
  [✔️] endrem_forge-5.2.1-R-1.19.X.jar
  [✔️] EnhancedVisuals_FORGE_v1.5.9_mc1.19.2.jar
  [✔️] Entity_Collision_FPS_Fix-forge-1.19-2.0.0.0.jar
  [✔️] entity_model_features_forge_1.19.2-1.1.0.jar
  [✔️] entity_texture_features_forge_1.19.2-4.6.1.jar
  [✔️] entityculling-forge-1.6.1-mc1.19.2.jar
  [✔️] everycomp-1.19.2-2.5.13.jar
  [✔️] explorify-forge-1.19-1.2.1.jar
  [✔️] Fallingleaves-1.19.1-1.3.1.jar
  [✔️] FarmersDelight-1.19.2-1.2.3.jar
  [✔️] FarmersRespite-1.19-2.0.jar
  [✔️] farsight-1.19.2-2.1.jar
  [✔️] farsighted-mobs-forge-1.1-1.19.jar
  [✔️] Fastload-Reforged-mc1.19.2-3.4.0.jar
  [✔️] fastpaintings-1.19-1.1.2.jar
  [✔️] FastSuite-1.19.2-4.1.1.jar
  [✔️] feathers-1.1.2.jar
  [✔️] ferritecore-5.0.3-forge.jar
  [✔️] firstperson-forge-2.2.0-mc1.19.2.jar
  [✔️] fluidlogged-1.2.0-forge-mc1.19.jar
  [✔️] ForgeCustomCursorMod-1.19.2-1.3.4.jar
  [✔️] forgery-3.4.0+1.19.jar
  [✔️] framework-forge-1.19.2-0.6.16.jar
  [✔️] FreeLook-forge-1.19.2-1.5.1.jar
  [✔️] geckolib-forge-1.19-3.1.40.jar
  [✔️] goblintraders-1.8.0-1.19.2.jar
  [✔️] gpumemleakfix-1.19.2-1.6.jar
  [✔️] grappling_hook_mod-1.19.2-1.19.2-v13.jar
  [✔️] guardvillagers-1.19.2-1.5.8.jar
  [✔️] HarderNaturalHealing-1.19-41.1.13.0.jar
  [✔️] hexfortress-0.0.2-1.19.2.jar
  [✔️] horse_colors-1.19.2-11.2.jar
  [✔️] HorseExpert-v4.0.0-1.19.2-Forge.jar
  [✔️] ImmediatelyFast-1.2.7+1.19.2.jar
  [✔️] immersive_aircraft-0.6.2+1.19.2-forge.jar
  [✔️] immersive_melodies-0.1.0+1.19.2-forge.jar
  [✔️] immersive_weathering-1.19.2-1.2.10-forge.jar
  [✔️] incapacitated-1.19.2-1.4.4.2.jar
  [✔️] integrated_api_forge-1.2.7+1.19.2.jar
  [✔️] irons_spellbooks-1.19.2-2.0.3.jar
  [✔️] ItemPhysicLite_FORGE_v1.5.2_mc1.19.jar
  [✔️] jei-1.19.2-forge-11.6.0.1018.jar
  [✔️] JeiTweaker-forge-1.19.2-4.0.13.jar
  [✔️] konkrete_forge_1.6.1_MC_1.19-1.19.2.jar
  [✔️] koremods-modlauncher-0.6.1.jar
  [✔️] kotlinforforge-3.12.0-all.jar
  [✔️] L_Enders_Cataclysm-1.38+-1.19.2.jar
  [✔️] lazydfu-1.19-1.0.2.jar
  [✔️] LeaveMyBarsAlone-v4.0.0-1.19.2-Forge.jar
  [✔️] LetSleepingDogsLie-1.19.2-Forge-1.2.0.jar
  [✔️] letthemgrow-1.19-1.0.1.jar
  [✔️] lightspeed-1.19.2-1.0.5.jar
  [✔️] lititup-1.19.2-1.1.1.jar
  [✔️] loot_journal-2.1.jar
  [✔️] map_atlases-1.19-5.6.4-all.jar
  [✔️] MaxHealthFix-Forge-1.19.2-8.0.2.jar
  [✔️] memoryleakfix-forge-1.17+-1.1.2.jar
  [✔️] modernfix-forge-5.8.1+mc1.19.2.jar
  [✔️] moonlight-1.19.2-2.3.4-forge.jar
  [✔️] MouseTweaks-forge-mc1.19-2.23.jar
  [✔️] musketmod-1.19.2-forge-1.4.5.jar
  [✔️] mutil-1.19.2-5.1.0.jar
  [✔️] naturallychargedcreepers-1.19.2-3.3.jar
  [✔️] NekosEnchantedBooks-1.19-1.8.0.jar
  [✔️] NethersDelight-1.19-3.0.jar
  [✔️] Nimble-1.19.2-forge-3.1.1.jar
  [✔️] nohostilesaroundcampfire-1.19.2-5.4.jar
  [✔️] no-telemetry-1.7.0.jar
  [✔️] notenoughanimations-forge-1.6.2-mc1.19.2.jar
  [✔️] observable-3.3.1.jar
  [✔️] OpenLoader-Forge-1.19.2-15.0.1.jar
  [✔️] overweightfarming-1.19.2-2.0.1-forge.jar
  [✔️] ParCool-1.19.2-3.1.0.4-R.jar
  [✔️] particular-1.0.jar
  [✔️] PassiveSkillTree-1.19.2-BETA-0.5.10b.jar
  [✔️] personality-1.19.2-3.0.2.jar
  [✔️] petnames-1.19.2-3.1.jar
  [✔️] piglinproliferation-1.19.2-1.0.3.jar
  [✔️] Placebo-1.19.2-7.3.3.jar
  [✔️] player-animation-lib-forge-1.0.2.jar
  [✔️] pluto-mc1.19.2-0.0.9.jar
  [✔️] polymorph-forge-0.46.5+1.19.2.jar
  [✔️] PresenceFootsteps-1.19.2-1.6.4.1-forge.jar
  [✔️] propertymodifier-1.19.2-0.3.3.jar
  [✔️] PuzzlesLib-v4.4.3-1.19.2-Forge.jar
  [✔️] Quark-3.4-418.jar
  [✔️] QuarkOddities-1.18.jar
  [✔️] radiantgear-forge-2.0.2+1.19.2.jar
  [✔️] recruits-1.19.2-1.10.10.jar
  [✔️] redirector-1.19.2-3.4.0-forge.jar
  [✔️] reefredux-1.19.2-1.1.0.jar
  [✔️] reforgium-1.0.12a.jar
  [✔️] relics-1.19.2-0.4.7.4.jar
  [✔️] resourcefulconfig-forge-1.19.2-1.0.20.jar
  [✔️] resourcefullib-forge-1.19.2-1.1.24.jar
  [✔️] RespawningAnimals-v4.2.0-1.19.2-Forge.jar
  [✔️] respawnobelisks-2.1-b.jar
  [✔️] responsiveshields-2.2.jar
  [✔️] Rrls-1.19.2-3.1.1-forge.jar
  [✔️] savage_and_ravage-1.19.2-5.0.5.jar
  [✔️] scaffoldingdropsnearby-1.19.2-3.0.jar
  [✔️] seamless-loading-screen-2.0.3+1.19.2-forge.jar
  [✔️] SereneSeasons-1.19.2-8.1.0.24.jar
  [✔️] sfcr-1.7.6-mc1.19.2.jar
  [✔️] Shimmer-forge-1.19.2-0.1.14.jar
  [✔️] simplysteel-1.19.2-2.3.1.jar
  [✔️] sliceanddice-forge-2.3.2.jar
  [✔️] smallships-forge-1.19.2-2.0.0-a2.3.jar
  [✔️] smoothchunk-1.19.2-3.4.jar
  [✔️] snowballsfreezemobs-1.19.2-3.1.jar
  [✔️] Somnia-Awoken-1.19.2-3.1.7.jar
  [✔️] soulfired-1.19.2-3.2.0.1-forge.jar
  [✔️] soundphysics-forge-1.19.2-1.2.1.jar
  [✔️] spark-1.10.37-forge.jar
  [✔️] SpelunkersCharm-3.2.1-1.19.2.jar
  [✔️] spiderstpo-1.19.2-2.0.4.jar
  [✔️] spyglass_improvements-1.4+mc1.19+forge.jar
  [✔️] staaaaaaaaaaaack-forge-1.19.2-1.4-63.jar
  [✔️] starlight-1.1.1+forge.cf5b10b.jar
  [✔️] Steam_Rails-1.5.3+forge-mc1.19.2.jar
  [✔️] structureessentials-1.19.2-3.1.jar
  [✔️] supplementaries-1.19.2-2.4.5.jar
  [✔️] suppsquared-1.19.2-1.1.1.jar
  [✔️] TerraBlender-forge-1.19.2-2.0.1.166.jar
  [✔️] Terralith_1.19.3_v2.3.12.jar
  [✔️] tetra-1.19.2-5.5.1.jar
  [✔️] tetranomicon-1.4.2-1.19.2.jar
  [✔️] tetratic-combat-1.19-2.6.3.jar
  [✔️] textrues_embeddium_options-0.1.1+mc1.19.2.jar
  [✔️] timecontrol-1.19.2-1.1.3.1.jar
  [✔️] toughasvillagerlife-1.19.2-0.0.3.jar
  [✔️] TreeChop-1.19.2-forge-0.18.4.jar
  [✔️] unlitcampfire-forge-1.19-1.7.1.0.jar
  [✔️] v_slab_compat-1.19.2-1.9.jar
  [✔️] VariantCraftingTables-1.19.2-1.8.1.jar
  [✔️] vc_gliders-forge-1.1.3.jar
  [✔️] Villager+Comfort-1.19.2-1.0.0.jar
  [✔️] villagernames-1.19.2-6.1.jar
  [✔️] visuality-forge-2.0.2.jar
  [✔️] wildtoolaccess-1.19.2-1.4.0-forge.jar
  [✔️] wither-skeleton-archers-in-fortresses-1.19.x-1.0.0.jar
  [✔️] wits-1.1.0+1.19.2-forge.jar
  [✔️] xercamusic-1.19.2-1.1.0.jar
  [✔️] yeetusexperimentus-1.0.1-build.2+mc1.19.1.jar
  [✔️] YungsApi-1.19.2-Forge-3.8.9.jar
  [✔️] YungsBetterDesertTemples-1.19.2-Forge-2.2.2.jar
  [✔️] YungsBetterDungeons-1.19.2-Forge-3.2.2.jar
  [✔️] YungsBetterEndIsland-1.19.2-Forge-1.0.jar
  [✔️] YungsBetterJungleTemples-1.19.2-Forge-1.0.1.jar
  [✔️] YungsBetterMineshafts-1.19.2-Forge-3.2.0.jar
  [✔️] YungsBetterNetherFortresses-1.19.2-Forge-1.0.6.jar
  [✔️] YungsBetterOceanMonuments-1.19.2-Forge-2.1.1.jar
  [✔️] YungsBetterStrongholds-1.19.2-Forge-3.2.0.jar
  [✔️] YungsBetterWitchHuts-1.19.2-Forge-2.1.0.jar
  [✔️] YungsBridges-1.19.2-Forge-3.1.0.jar
  [✔️] YungsExtras-1.19.2-Forge-3.1.0.jar
  [✔️] zetter-1.19.2-0.21.3-rc.jar
commented

This is a known issue with Sodium 0.4/Embeddium on 1.18.2 & 1.19.2; there isn't a fix at the moment, but there is no permanent leak as the memory is reclaimed over time. You can reduce the log spam slightly by setting enable_memory_tracing to false in config/rubidium-options.json.

commented

Enabled memory tracing just for the purpose of reporting the issue. Thank you for getting back to me, and thanks for all the work y'all do!

commented