CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.78k stars 812 forks source link

Arbitrary OutOfMemoryError #1864

Closed Ethan-Pixelate closed 1 year ago

Ethan-Pixelate commented 1 year ago

Version information

MC 1.19.4, Sodium 0.4.10+build.24

Reproduction Steps

  1. Open Minecraft
  2. Join a server (in my case Wynncraft)
  3. Select a class and enter the world
  4. The game crashes
  5. Sometimes it won't immediately crash, in which case, keep playing
  6. The game will crash after an arbitrary amount of time, either way, it's a crash for the same reason

Chunk Render Task Executor throws a java.lang.OutOfMemoryError, usually also causing the Java Runtime to throw a fatal error (EXCEPTION_ACCESS_VIOLATION)

Crash Report file

Minecraft log/crash file can be found here: https://paste.ee/p/hyFuV

Additional information

I am using the Fabulously Optimized modpack, and use this instance of MultiMC to play on the Wynncraft server, which does make use of a server-wise resource pack.

Full list of mods installed: image

This happens both with multi-threaded chunks set to 0 and 16.

astridellensdottir commented 1 year ago

please update your video drivers. you’re using version 511.65, which was released more than a year ago.

hexadecimal233 commented 1 year ago

Xmx is set to 1024m, you sure you can run mc with only 1 gig ram?

jellysquid3 commented 1 year ago

There is no indication of a memory leak in Sodium... You are simply running out of memory (probably because Xmx is set too low, or there is not available RAM in the system.)

Maybe some other mod is causing that, but we can't help debug that.