Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game crashed bc of xaeros map and xaero plus #108

Closed
JamingDE opened this issue Jan 27, 2024 · 4 comments
Closed

game crashed bc of xaeros map and xaero plus #108

JamingDE opened this issue Jan 27, 2024 · 4 comments

Comments

@JamingDE
Copy link

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
Copy link
Owner

rfresh2 commented Jan 27, 2024

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
Copy link
Author

JamingDE commented Jan 27, 2024 via email

@rfresh2 rfresh2 closed this as completed Jan 27, 2024
@rfresh2
Copy link
Owner

rfresh2 commented Jan 27, 2024

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
Copy link
Author

JamingDE commented Jan 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants