
Memory leak
turtlegarden opened this issue · 0 comments
Before reporting, I have confirmed that
- This bug does not appear to be reported on GitHub Issues before.
- This bug still exists in the latest version of the Minecraft Transit Railway mod.
- I have tested this in the official version of Minecraft Transit Railway, not a modified, custom, or unofficial build.
Describe the Bug
The game goes quickly empty for memory, and textures (along with other MTR entities) fail to load thereafter.
Reproduction Steps
- Open Minecraft
- Open world & begin playing, with many rail and MTR elements in area.
- Mark that the memory goes empty, no matter how high the limit is set.
In-game Log and Crash Report
[19:25:09] [Thread-13/ERROR]:
java.io.IOException: Ikke mer plass på enheten
at java.io.FileOutputStream.writeBytes(Native Method) ~[?:?]
at java.io.FileOutputStream.write(FileOutputStream.java:349) ~[?:?]
at java.awt.Font.createFont0(Font.java:1153) ~[?:?]
at java.awt.Font.createFont(Font.java:1076) ~[?:?]
at org.mtr.mod.client.DynamicTextureCache.lambda$getResource$18(DynamicTextureCache.java:248) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mapping.mapper.ResourceManagerHelper.readResource(ResourceManagerHelper.java:65) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mapping.mapper.ResourceManagerHelper.lambda$readResource$0(ResourceManagerHelper.java:24) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at org.mtr.mapping.mapper.ResourceManagerHelper.readResource(ResourceManagerHelper.java:24) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mod.client.DynamicTextureCache.lambda$getResource$20(DynamicTextureCache.java:246) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mod.render.WorkerThread.run(WorkerThread.java:78) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mod.render.WorkerThread.runTick(WorkerThread.java:35) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
at org.mtr.mod.CustomThread.run(CustomThread.java:19) ~[MTR-fabric-4.0.0-beta.13+1.20.4.jar:?]
Mod Loader
Fabric
Minecraft Version
1.20.4
Minecraft Transit Railway Version
4.0.0 beta 13
Operating System
Fedora 41
List of Mods or Modpack You Were Using
Extra Information
Seems like it is not succeding in loading the font.