Sodium

Sodium

35M Downloads

"Reclaimed X bytes from..." log spam

MissGamerz opened this issue ยท 18 comments

commented

Version information

mc 1.17.1 0.3.3 build8

Expected Behavior

N/A

Actual Behavior

N/A

Reproduction Steps

idk..

Java version

java 17

CPU

ryzen 3400G

GPU

APU

Additional information

[22:39:02] [Render thread/INFO]: [CHAT] You are no longer in combat. (17)
[22:39:05] [Render thread/WARN]: Reclaimed 400 bytes at address 1604341259632 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.util.NativeBuffer.copy(NativeBuffer.java:36)
me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferBuilder.pop(VertexBufferBuilder.java:104)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:93)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 120 bytes at address 1604299612240 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 5016 bytes at address 1604205102256 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 26400 bytes at address 1605223348064 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.util.NativeBuffer.copy(NativeBuffer.java:36)
me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferBuilder.pop(VertexBufferBuilder.java:104)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:93)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 45120 bytes at address 1605486002960 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.util.NativeBuffer.copy(NativeBuffer.java:36)
me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferBuilder.pop(VertexBufferBuilder.java:104)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:93)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 6768 bytes at address 1604339336768 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 33440 bytes at address 1605485969504 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.util.NativeBuffer.copy(NativeBuffer.java:36)
me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferBuilder.pop(VertexBufferBuilder.java:104)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:93)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)
[22:39:05] [Render thread/WARN]: Reclaimed 3960 bytes at address 1605437714320 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294)
java.base/java.lang.Thread.run(Thread.java:833)

commented

hm?

commented

I'm getting similar log spam on 1.18. I tested using Shenandoah and ZGC and both are affected.

Minecraft/sodium version: MC 1.18, Sodium 0.4.0-alpha5+build.9
Java version: OpenJDK Runtime Environment (build 17.0.1+12)
CPU: Ryzen 3600
GPU: RX Vega 56
GPU driver: Mesa 21.2.5

[19:41:22] [Server thread/INFO]: Cloudperry joined the game
[19:41:22] [Render thread/INFO]: [STDOUT]: New minimap session initialized!
[19:41:22] [Render thread/INFO]: [STDOUT]: New world map session initialized!
[19:41:22] [Render thread/INFO]: Started 6 worker threads
[19:41:22] [Render thread/INFO]: Using 3 total BufferBuilder caches
[19:41:23] [Render thread/INFO]: [STDOUT]: No Iris!
[19:41:23] [Render thread/INFO]: [STDOUT]: No Iris!
[19:41:23] [Render thread/INFO]: [STDOUT]: Reloading entity icon resources...
[19:41:23] [Render thread/INFO]: [STDOUT]: Done!
[19:41:43] [Render thread/INFO]: Loaded 41 advancements
[19:41:49] [Server thread/INFO]: Saving and pausing game...
[19:41:49] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[19:41:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[19:41:55] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[19:41:55] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 6290ms or 125 ticks behind
[19:43:56] [Render thread/WARN]: Reclaimed 16080 bytes at address 140545250458624 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 206400 bytes at address 140545253536704 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 61440 bytes at address 140545836258880 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 1572 bytes at address 140545217294336 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 10480 bytes at address 140545830768640 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 30960 bytes at address 140545834273600 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 4944 bytes at address 140545246825472 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 60400 bytes at address 140545829245248 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 2412 bytes at address 140545834400256 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 9216 bytes at address 140545835548672 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 20480 bytes at address 140545833945792 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 17040 bytes at address 140545829318208 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 9060 bytes at address 140545831137280 that were leaked from an unknown location (logging is disabled)
[19:43:56] [Render thread/WARN]: Reclaimed 3072 bytes at address 140545248141312 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 68640 bytes at address 140545246198528 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 45120 bytes at address 140545251885696 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 4392 bytes at address 140545836327936 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 29280 bytes at address 140545253004800 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 407120 bytes at address 140545195145920 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 157680 bytes at address 140545230239616 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 10296 bytes at address 140545285689344 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 61068 bytes at address 140545251938560 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 6768 bytes at address 140545835705344 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 4140 bytes at address 140545245992960 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 23652 bytes at address 140545285484864 that were leaked from an unknown location (logging is disabled)
[19:43:59] [Render thread/WARN]: Reclaimed 27600 bytes at address 140545828198912 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 43584 bytes at address 140545251914240 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 3996 bytes at address 140545255206912 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 74320 bytes at address 140545192279872 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 9240 bytes at address 140545255239680 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 11148 bytes at address 140545835819008 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 24080 bytes at address 140545253004224 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 61600 bytes at address 140545255731584 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 42720 bytes at address 140545255804416 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 3612 bytes at address 140545834082304 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 284800 bytes at address 140545257589888 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 290560 bytes at address 140545253436160 that were leaked from an unknown location (logging is disabled)
[19:44:03] [Render thread/WARN]: Reclaimed 26640 bytes at address 140545263091840 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 912 bytes at address 140545834085376 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 2760 bytes at address 140545251233792 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 36276 bytes at address 140545227559040 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 18400 bytes at address 140547048735104 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 6080 bytes at address 140545828222976 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 6080 bytes at address 140545835630592 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 241840 bytes at address 140545253034816 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 241840 bytes at address 140545244859392 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 2760 bytes at address 140545828100096 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 912 bytes at address 140545285773312 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 18400 bytes at address 140545286272832 that were leaked from an unknown location (logging is disabled)
[19:44:09] [Render thread/WARN]: Reclaimed 36276 bytes at address 140545835846784 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 336 bytes at address 140547048625920 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 5892 bytes at address 140545836328960 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 39280 bytes at address 140545195318592 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 2240 bytes at address 140545250526208 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 214880 bytes at address 140545251991936 that were leaked from an unknown location (logging is disabled)
[19:44:12] [Render thread/WARN]: Reclaimed 32232 bytes at address 140545834278080 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 31716 bytes at address 140545834308736 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 1296 bytes at address 140545834182656 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 211440 bytes at address 140545251965952 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 16240 bytes at address 140545835515200 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 8640 bytes at address 140545251923968 that were leaked from an unknown location (logging is disabled)
[19:44:14] [Render thread/WARN]: Reclaimed 2436 bytes at address 140547048739840 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 4464 bytes at address 140545256403968 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 19520 bytes at address 140545834276864 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 35004 bytes at address 140545236278016 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 208240 bytes at address 140545251100736 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 54960 bytes at address 140545250702016 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 53760 bytes at address 140545287006720 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 52560 bytes at address 140545235950272 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 7884 bytes at address 140547304935424 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 9792 bytes at address 140545256370176 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 16160 bytes at address 140547304822080 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 2928 bytes at address 140545827744768 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 2424 bytes at address 140547302088704 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 2424 bytes at address 140547302091264 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 52560 bytes at address 140547301837632 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 245680 bytes at address 140545229841600 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 16160 bytes at address 140549190742208 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 49280 bytes at address 140545245535232 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 65280 bytes at address 140545256038144 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 3612 bytes at address 140545827905536 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 233360 bytes at address 140547304003904 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 366400 bytes at address 140545253531904 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 7392 bytes at address 140545285677056 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 36852 bytes at address 140545286807552 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 29760 bytes at address 140545257119872 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 3288 bytes at address 140545195041792 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 233360 bytes at address 140545236010944 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 44880 bytes at address 140545223371264 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 2928 bytes at address 140547048892416 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 35004 bytes at address 140547301897536 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 8064 bytes at address 140545287180288 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 31236 bytes at address 140545252645056 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 7884 bytes at address 140547303538688 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 31236 bytes at address 140545287066304 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 24080 bytes at address 140545285613120 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 19520 bytes at address 140545286230336 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 208240 bytes at address 140545245301056 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 45920 bytes at address 140545252563648 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 6888 bytes at address 140545252538368 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 299200 bytes at address 140545223037696 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 8064 bytes at address 140545834536960 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 53760 bytes at address 140545834467968 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Reclaimed 21920 bytes at address 140547048942720 that were leaked from an unknown location (logging is disabled)
[19:44:15] [Render thread/WARN]: Unable to play empty soundEvent: minecraft:entity.salmon.ambient
[19:44:16] [Render thread/WARN]: Reclaimed 49212 bytes at address 140545834469056 that were leaked from an unknown location (logging is disabled)
[19:44:16] [Render thread/WARN]: Reclaimed 328080 bytes at address 140545253535360 that were leaked from an unknown location (logging is disabled)
[19:44:16] [Render thread/WARN]: Reclaimed 14232 bytes at address 140545250762752 that were leaked from an unknown location (logging is disabled)
[19:44:16] [Render thread/WARN]: Reclaimed 23760 bytes at address 140545834308800 that were leaked from an unknown location (logging is disabled)
[19:44:16] [Render thread/WARN]: Reclaimed 94880 bytes at address 140545250835904 that were leaked from an unknown location (logging is disabled)
[19:44:16] [Render thread/WARN]: Reclaimed 3564 bytes at address 140545194632704 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 70960 bytes at address 140545829369920 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 3264 bytes at address 140545829360640 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 7512 bytes at address 140545248780288 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 29200 bytes at address 140545830315776 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 21760 bytes at address 140545828799872 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 3264 bytes at address 140545829526016 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 29040 bytes at address 140545829457856 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 70640 bytes at address 140545829580928 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 21760 bytes at address 140545829546240 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 10644 bytes at address 140545828286464 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 7452 bytes at address 140545833738240 that were leaked from an unknown location (logging is disabled)
[19:44:54] [Render thread/WARN]: Reclaimed 10596 bytes at address 140545829216256 that were leaked from an unknown location (logging is disabled)
[19:45:06] [Server thread/INFO]: Saving and pausing game...
[19:45:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld
[19:45:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether
[19:45:06] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end
[19:45:09] [Render thread/INFO]: [STDOUT]: Minimap session finalized.
[19:45:09] [Render thread/INFO]: [STDOUT]: Finalizing world map session...
[19:45:09] [Thread-22/INFO]: [STDOUT]: World map force-cleaned!
[19:45:09] [Render thread/INFO]: [STDOUT]: World map session finalized.
[19:45:09] [Server thread/INFO]: Cloudperry lost connection: Disconnected
commented

getting the same memory leaks with 1.18.1...
also some more warnings in the log...
would be nice to see this fixed!
thanks
latest.log

commented

Same memory leak confirmed in 1.18.1 with 0.4.0
[22:40:49] [Render thread/WARN]: Reclaimed 8736 bytes at address 2845112268016 that were leaked from allocation site: java.base/java.lang.Thread.getStackTrace(Thread.java:1610) me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90) me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117) me.jellysquid.mods.sodium.client.util.NativeBuffer.<init>(NativeBuffer.java:30) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106) me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:254) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:294) java.base/java.lang.Thread.run(Thread.java:833) [22:40:49] [Render thread/WARN]: Reclaimed 116480 bytes at address 2846542430240 that were leaked from allocation site:
And it sums up until client crashes

commented

These messages are the things preventing the allocations from being memory leaks. While it is a problem, it shouldn't be the issue of any out of memory errors.

I looked into this, and it'll be pretty difficult to fix, but once we start having per-thread streaming buffers to manage, it should be fine.

commented

These messages are the things preventing the allocations from being memory leaks. While it is a problem, it shouldn't be the issue of any out of memory errors.

I looked into this, and it'll be pretty difficult to fix, but once we start having per-thread streaming buffers to manage, it should be fine.

So there's nothing to worry about?

commented

Any update on this issue?

commented

Have the same issue, logspam with these messages and FPS drops to 15-20 (usual FPS is 60-70) every few minutes for no apparent reason. Playing with Addrenaline modpack (latest version 1.13.0 for Minecraft 1.19.4) and Xaero's Map. Really hope someone will pay attention to this problem. I can give some more information or take more tests if it's needed.
[02:10:12] [Render thread/WARN]: Reclaimed 105600 bytes at address 2207718114560 that were leaked from allocation site: java.base/java.lang.Thread.getStackTrace(Thread.java:1610) me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90) me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117) me.jellysquid.mods.sodium.client.util.NativeBuffer.<init>(NativeBuffer.java:30) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:89) me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:130) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:281) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:323)
2023-05-30-5.log
Prism Log.txt

commented

Have the same issue, logspam with these messages and FPS drops to 15-20 (usual FPS is 60-70) every few minutes for no apparent reason. Playing with Addrenaline modpack (latest version 1.13.0 for Minecraft 1.19.4) and Xaero's Map. Really hope someone will pay attention to this problem. I can give some more information or take more tests if it's needed. [02:10:12] [Render thread/WARN]: Reclaimed 105600 bytes at address 2207718114560 that were leaked from allocation site: java.base/java.lang.Thread.getStackTrace(Thread.java:1610) me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90) me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117) me.jellysquid.mods.sodium.client.util.NativeBuffer.<init>(NativeBuffer.java:30) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:89) me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:130) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:281) me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:323) 2023-05-30-5.log Prism Log.txt

how did you enable logging

commented
[13:48:16] [Render thread/WARN] (NativeBuffer) [me.jellysquid.mods.sodium.client.util.NativeBuffer#reclaim] Reclaimed 41208 bytes at address 2487431136192 that were leaked from allocation site:
java.base/java.lang.Thread.getStackTrace(Thread.java:1610)
me.jellysquid.mods.sodium.client.util.NativeBuffer.getStackTrace(NativeBuffer.java:90)
me.jellysquid.mods.sodium.client.util.NativeBuffer.allocate(NativeBuffer.java:117)
me.jellysquid.mods.sodium.client.util.NativeBuffer.<init>(NativeBuffer.java:30)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuildBuffers.createMesh(ChunkBuildBuffers.java:106)
me.jellysquid.mods.sodium.client.render.chunk.tasks.ChunkRenderRebuildTask.performBuild(ChunkRenderRebuildTask.java:141)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder.processJob(ChunkBuilder.java:285)
me.jellysquid.mods.sodium.client.render.chunk.compile.ChunkBuilder$WorkerRunnable.run(ChunkBuilder.java:325)
java.base/java.lang.Thread.run(Thread.java:833)

is what mine says. and I keep getting this bug where my world completely stops ticking, even when I press save and exit and just shows saving world screen forever until I alt+f4

commented

Have any of you managed to find the issue with this? Could you share a list of your mods? I have been running into the same problem and I tried disabling Sodium completely...issue still persists, so it's not this mod causing it.

commented

mine was caused by incompatibility between twigs and baobab nuts from wilder wild. It was unrelated to "reclaimed X bytes" and caused the world to stop ticking completely. However I also had an issue that was seemingly related to "reclaimed X bytes" and it would pause world ticks for a few minutes. Wasn't able to fix that one.

commented

mine was caused by incompatibility between twigs and baobab nuts from wilder wild. It was unrelated to "reclaimed X bytes" and caused the world to stop ticking completely. However I also had an issue that was seemingly related to "reclaimed X bytes" and it would pause world ticks for a few minutes. Wasn't able to fix that one.

I was able to narrow it down last night too being caused by Wilder Wilds treegen/baobobs, so your discovery of the exact incompatibility is helpful! Thank you. Have you reported the issue to either mod? How did you resolve it? I disabled treegen on WW, since I don't want to remove the mod.

commented

For what it's worth I never used any of these mods mentioned in the last few days, and still had the log spam.

commented

mine was caused by incompatibility between twigs and baobab nuts from wilder wild. It was unrelated to "reclaimed X bytes" and caused the world to stop ticking completely. However I also had an issue that was seemingly related to "reclaimed X bytes" and it would pause world ticks for a few minutes. Wasn't able to fix that one.

I was able to narrow it down last night too being caused by Wilder Wilds treegen/baobobs, so your discovery of the exact incompatibility is helpful! Thank you. Have you reported the issue to either mod? How did you resolve it? I disabled treegen on WW, since I don't want to remove the mod.

I reported the issue to both mods but got no response so far. Currently I am playing with chunk by chunk mod and it is going to be a while until I get savanna chunks. I am sure my future self will take great care of the issue once it occurs. Perhaps by using the Block Swap mod to replace baobab nuts with acacia saplings

commented

confirmed in 1.19.2

commented

i get this warning although i use MemoryLeakFix...

commented

I'm pretty sure this is fixed in Sodium 0.5.0. Ask for this issue to be re-opened if it's not.