rfresh2 / XaeroPlus

Xaero WorldMap / Minimap Extra Features
MIT License
102 stars 27 forks source link

game crashed bc of xaeros map and xaero plus #108

Closed JamingDE closed 8 months ago

JamingDE commented 8 months ago

i dont know why this happened, but i does. i send the crash file and the log, if that helps. this happened about 4 times. latest.log crash-2024-01-27_01.35.06-client.txt i play with a lot of mods, and i dont know if any of the mods caused the issue...

rfresh2 commented 8 months ago
Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.base/java.util.Arrays.copyOf(Arrays.java:3537)
    at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100)
    at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130)
    at java.base/java.io.DataOutputStream.writeLong(DataOutputStream.java:230)
    at xaero.map.region.texture.RegionTexture.writeCacheMapData(RegionTexture.java:288)
    at xaero.map.region.texture.BranchRegionTexture.writeCacheMapData(BranchRegionTexture.java:306)
    at xaero.map.region.LeveledRegion.saveCacheTextures(LeveledRegion.java:330)
    at xaero.map.file.MapSaveLoad.run(MapSaveLoad.java:1200)
    at xaero.map.MapProcessor.run(MapProcessor.java:349)
    at xaero.map.MapRunner.run(MapRunner.java:18)
    at java.base/java.lang.Thread.run(Thread.java:833)

You need to allocate more ram to your mc instance

If you use the vanilla MC launcher you can do this through the JVM arguments like this

MinecraftLauncher_qb4IUvSf4F

JamingDE commented 8 months ago

Thank you

rfresh2 @.***> schrieb am Sa., 27. Jan. 2024, 01:46:

Caused by: java.lang.OutOfMemoryError: Java heap space at java.base/java.util.Arrays.copyOf(Arrays.java:3537) at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:100) at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:130) at java.base/java.io.DataOutputStream.writeLong(DataOutputStream.java:230) at xaero.map.region.texture.RegionTexture.writeCacheMapData(RegionTexture.java:288) at xaero.map.region.texture.BranchRegionTexture.writeCacheMapData(BranchRegionTexture.java:306) at xaero.map.region.LeveledRegion.saveCacheTextures(LeveledRegion.java:330) at xaero.map.file.MapSaveLoad.run(MapSaveLoad.java:1200) at xaero.map.MapProcessor.run(MapProcessor.java:349) at xaero.map.MapRunner.run(MapRunner.java:18) at java.base/java.lang.Thread.run(Thread.java:833)

You need to allocate more ram to your mc instance

If you use the vanilla MC launcher you can do this through the JVM arguments like this

MinecraftLauncher_qb4IUvSf4F.png (view on web) https://github.com/rfresh2/XaeroPlus/assets/89827146/79aab402-0d69-43f7-a3d4-5e1d8457f323

— Reply to this email directly, view it on GitHub https://github.com/rfresh2/XaeroPlus/issues/108#issuecomment-1912877333, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBSJS4QSYOMYG5D5RCCR3GTYQRE6XAVCNFSM6AAAAABCM5KQ3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHA3TOMZTGM . You are receiving this because you authored the thread.Message ID: @.***>

rfresh2 commented 8 months ago

I've reduced some of the memory usage in https://github.com/rfresh2/XaeroPlus/releases/tag/Fabric-1.20.1-80 (you will also need to update xaero worldmap and minimap)

JamingDE commented 8 months ago

Awesome, thanks!

rfresh2 @.***> schrieb am Sa., 27. Jan. 2024, 05:15:

I've reduced some of the memory usage in https://github.com/rfresh2/XaeroPlus/releases/tag/Fabric-1.20.1-80 (you will also need to update xaero worldmap and minimap)

— Reply to this email directly, view it on GitHub https://github.com/rfresh2/XaeroPlus/issues/108#issuecomment-1912974401, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBSJS4TEXLGMHYIE4NJUDRDYQR5OTAVCNFSM6AAAAABCM5KQ3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHE3TINBQGE . You are receiving this because you authored the thread.Message ID: @.***>