5
Soooo, for the past few days, my game will run out of memory every time I switch dimensions. I was using mods (just performance) so I tried vanilla. Nope, didn't work. Ok, I was using around 30 resource packs, so SURELY that will work? Nope, still does it! I'm running 1.21.1. These are the logs:
Logs
[18:36:12] [Datafixer Bootstrap/INFO]: 226 Datafixer optimizations took 338 milliseconds
[18:36:16] [Render thread/INFO]: Environment: Environment[sessionHost=sessionserver.mojang.com, servicesHost=api.minecraftservices.com, name=PROD]
[18:36:16] [Render thread/INFO]: Setting user: Kraggle09
[18:36:16] [Render thread/INFO]: Backend library: LWJGL version 3.3.3+5
[18:36:17] [Render thread/WARN]: Removed resource pack fabric from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/WARN]: Removed resource pack continuity:glass_pane_culling_fix from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/WARN]: Removed resource pack continuity:default from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/INFO]: Reloading ResourceManager: vanilla
[18:36:17] [Worker-Main-6/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[18:36:17] [Worker-Main-2/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[18:36:18] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[18:36:18] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[18:36:18] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Realtek HD Audio 2nd output (Realtek(R) Audio)
[18:36:18] [Render thread/INFO]: Sound engine started
[18:36:18] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[18:36:18] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[18:36:18] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[18:36:18] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[18:36:18] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[18:36:18] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[18:36:24] [Render thread/ERROR]: Can't ping unprepared.aternos.me: Internal Exception: java.net.SocketException: Connection reset
[18:36:24] [Render thread/INFO]: Connecting to 192.168.1.49, 25565
[18:36:27] [Render thread/INFO]: Loaded 577 advancements
[18:36:28] [Render thread/WARN]: Received passengers for unknown entity
[18:36:56] [Render thread/ERROR]: Out of memory
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.atomic.AtomicReferenceArray.<init>(AtomicReferenceArray.java:68) ~[?:?]
at fzb$a.<init>(SourceFile:187) ~[1.21.1.jar:?]
at fzb.<init>(SourceFile:41) ~[1.21.1.jar:?]
at fzf.<init>(SourceFile:174) ~[1.21.1.jar:?]
at fzg.a(SourceFile:1128) ~[1.21.1.jar:?]
at aei.a(SourceFile:44) ~[1.21.1.jar:?]
at aei.a(SourceFile:9) ~[1.21.1.jar:?]
at zj.a(SourceFile:27) ~[1.21.1.jar:?]
at zj$$Lambda/0x0000000800e3ad78.run(Unknown Source) ~[?:?]
at bph.d(SourceFile:162) ~[1.21.1.jar:?]
at bpl.d(SourceFile:23) ~[1.21.1.jar:?]
at bph.B(SourceFile:136) ~[1.21.1.jar:?]
at bph.bB(SourceFile:121) ~[1.21.1.jar:?]
at fgo.c(SourceFile:1240) ~[1.21.1.jar:?]
at fgo.f(SourceFile:882) [1.21.1.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:256) [1.21.1.jar:?]
[18:38:45] [Render thread/INFO]: Stopping!
[18:36:16] [Render thread/INFO]: Environment: Environment[sessionHost=sessionserver.mojang.com, servicesHost=api.minecraftservices.com, name=PROD]
[18:36:16] [Render thread/INFO]: Setting user: Kraggle09
[18:36:16] [Render thread/INFO]: Backend library: LWJGL version 3.3.3+5
[18:36:17] [Render thread/WARN]: Removed resource pack fabric from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/WARN]: Removed resource pack continuity:glass_pane_culling_fix from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/WARN]: Removed resource pack continuity:default from options because it doesn't seem to exist anymore
[18:36:17] [Render thread/INFO]: Reloading ResourceManager: vanilla
[18:36:17] [Worker-Main-6/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[18:36:17] [Worker-Main-2/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[18:36:18] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[18:36:18] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[18:36:18] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Realtek HD Audio 2nd output (Realtek(R) Audio)
[18:36:18] [Render thread/INFO]: Sound engine started
[18:36:18] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[18:36:18] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[18:36:18] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[18:36:18] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[18:36:18] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[18:36:18] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[18:36:18] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[18:36:18] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[18:36:24] [Render thread/ERROR]: Can't ping unprepared.aternos.me: Internal Exception: java.net.SocketException: Connection reset
[18:36:24] [Render thread/INFO]: Connecting to 192.168.1.49, 25565
[18:36:27] [Render thread/INFO]: Loaded 577 advancements
[18:36:28] [Render thread/WARN]: Received passengers for unknown entity
[18:36:56] [Render thread/ERROR]: Out of memory
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.atomic.AtomicReferenceArray.<init>(AtomicReferenceArray.java:68) ~[?:?]
at fzb$a.<init>(SourceFile:187) ~[1.21.1.jar:?]
at fzb.<init>(SourceFile:41) ~[1.21.1.jar:?]
at fzf.<init>(SourceFile:174) ~[1.21.1.jar:?]
at fzg.a(SourceFile:1128) ~[1.21.1.jar:?]
at aei.a(SourceFile:44) ~[1.21.1.jar:?]
at aei.a(SourceFile:9) ~[1.21.1.jar:?]
at zj.a(SourceFile:27) ~[1.21.1.jar:?]
at zj$$Lambda/0x0000000800e3ad78.run(Unknown Source) ~[?:?]
at bph.d(SourceFile:162) ~[1.21.1.jar:?]
at bpl.d(SourceFile:23) ~[1.21.1.jar:?]
at bph.B(SourceFile:136) ~[1.21.1.jar:?]
at bph.bB(SourceFile:121) ~[1.21.1.jar:?]
at fgo.c(SourceFile:1240) ~[1.21.1.jar:?]
at fgo.f(SourceFile:882) [1.21.1.jar:?]
at net.minecraft.client.main.Main.main(SourceFile:256) [1.21.1.jar:?]
[18:38:45] [Render thread/INFO]: Stopping!
12
Ok, I've fixed the issue. I upped my RAM to 32GB and upped the allocated memory to 26GB. I also got the Memory Leak Fix mod (which works on 1.21.1 even though it says 1.20.4). Something about that combination fixed it. Thanks for the help everyone!
I have a similar thing that always happens in newer versions, where when I change dimensions or what it's called in the server named "zones", the allocated RAM will terribly fill for a minute until it goes back to normal, so a lot of FPS drops happen.
Found the issue.
The game wants to insert passengers to an unknown entity, are you 100% sure that there is no malware? Are you sure that all mods are exclusively optimization?
The game wants to insert passengers to an unknown entity, are you 100% sure that there is no malware? Are you sure that all mods are exclusively optimization?
Yeah, they’re all for performance. I can try reinstalling the mods later today to see if that helps
I guess you should find the unknown entity, inside the files there must be some data about what went wrong.
What's strange is it happens both when moving in and out of the nether. It's a server, so maybe I could rebuild the core game files on the server side and see if that fixes it.
Seems like the entity is you or the game wants to generate a impossible glitched entity everywhere you go. Seems like some mob whose data is missing.
It seems to also happen if I leave and try to rejoin. It’s as if it can only load a dimension once before it runs out.
I tried rebuilding the core files of the server, but that didn't fix it. Later this week I'll try with an identical version with a new world and see if that works. I can also try the mod KateYagi recommended
I tried rebuilding the core files of the server, but that didn't fix it. Later this week I'll try with an identical version with a new world and see if that works. I can also try the mod KateYagi recommended
Could be an operating system thing if you have Windows, or you forgot to add Memory Leak Fix, (Self explanitory) and/or No Telemetry / Debugify, (The way Mojang implements spyware is cursed and causes performance issues)
One mod that might help is Neruina, since it's an unknown entity spawning in and causing memory issues, should zap it the moment it spawns in.
One mod that might help is Neruina, since it's an unknown entity spawning in and causing memory issues, should zap it the moment it spawns in.
I’ll try Memory Leak Fix soon and see if that fixes it.
it looks like the issue is it's trying to load an unknown entity which according to the log you gave is causing java runtime memory errors to happen so this might be something worth researching into
'Unknown entity' is in almost every Minecraft YouTube video title
