CaffeineMC / sodium

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

ChunkBuilder OutOfMemoryError when a chunk / OBJ has too much data. #2792

Closed Altirix closed 3 weeks ago

Altirix commented 3 weeks ago

Bug Description

found using the resources provided in #2789. neoforge with sodium will crash with a dozen trees in a chunk. neoforge without sodium will not crash

Reproduction Steps

use files from https://github.com/CaffeineMC/sodium-fabric/issues/2789#issuecomment-2390872511

keep placing trees in a chunk until you crash the game.

increasing memory does not prevent the crash.

18 trees in a chunk caused the crash for me.

or you can use ferns in a 8 x 4 x 8 dirt,fern,dirt,fern structure as its due to the model complexity.

Log File

latest.log

Crash Report

log contains crash.