Create

Create

86M Downloads

OOM Error trying to resize buffer from 2145389568 bytes to -2147480576 bytes

cvrunmin opened this issue ยท 8 comments

commented

Describe the Bug

As title described, when you played long enough time, the game crashes by OutOfMemoryError: Failed to resize buffer from 2145389568 bytes to -2147480576 bytes. It seems happen when our server people starts building heavy machine from Create but we are stilling asking other players if such problem happen before that timing.

Reproduction Steps

  1. join a modded server with heavy machine
  2. play about a hour with those heavy machine nearby
  3. the game crashes

Expected Result

It shall not crash. Especially it should not reallocate negative amount of memory.

Screenshots and Videos

You may take this as a reference what 'heavy machine' refers to in this context:
2023-05-17_15 04 24

Crash Report or Log

latest.log:
https://pastebin.com/FHwCsbBD
crash report:
https://pastebin.com/ftLcQyiJ

Operating System

Windows 10

Mod Version

0.5.0i

Minecraft Version

1.19.2

Forge Version

43.2.0

Other Mods

okzoomer-forge-1.19-2.1.1.jar
inventorysorter-1.19.2-21.0.4.jar
libIPN-forge-1.19-2.0.7.jar
MouseTweaks-forge-mc1.19-2.23.jar
pamhc2trees-1.19.2-1.0.1.jar
pamhc2crops-1.19.2-1.0.2.jar
beenfo-1.19.1-forge42.0.1-1.2.jar
jei-1.19.2-forge-11.6.0.1015.jar
wthit-forge-5.15.4.jar
pamhc2foodextended-1.19.2-1.0.0.jar
kffmod-3.12.0.jar
flywheel-forge-1.19.2-0.6.8.a-14.jar
create-1.19.2-0.5.0.i.jar
createdeco-1.3.2-1.19.2.jar
Xaeros_Minimap_23.4.1_Forge_1.19.1.jar
pamhc2foodcore-1.19.2-1.0.0.jar
XaerosWorldMap_1.30.1_Forge_1.19.1.jar
cookingforblockheads-forge-1.19.2-13.3.2.jar
StorageDrawers-1.19-11.1.2.jar
configured-2.1.1-1.19.2.jar
badpackets-forge-0.2.1.jar
InventoryProfilesNext-forge-1.19-1.9.7.jar
architectury-6.5.82-forge.jar
Steam_Rails-1.2.6+forge-mc1.19.2.jar
SoL-Carrot-1.19.2-1.14.0.jar
EasierVillagerTrading-forge-1.19.2-1.2.0.jar
catalogue-1.7.0-1.19.2.jar
balm-forge-1.19.2-4.5.7.jar
quickpacketfix-1.0.jar
light-overlay-7.0.1-forge.jar
durabilityviewer-1.19.1-forge42.0.1-1.10.jar
skbackpacks-1.3.jar
BetterF3-4.0.0-Forge-1.19.2.jar
cloth-config-8.2.88-forge.jar
voicechat-forge-1.19.2-2.4.7.jar
appleskin-forge-mc1.19-2.4.2.jar
NoFog-1.3.2_1.19.2-forge.jar
createaddition-1.19.2-20230507a.jar

Additional Context

No response

commented

I am also playing with nearly the same mods and have the exact same issue

commented

UPDATE: This exception did not occur recently after our players removed cobblestone&iron farm in the left of the screenshot. Please see if you can reproduce the exception with the farm. Here is the cobblestone farm design used in our farm: https://createmod.com/schematics/super-cobblestone-generator-large

commented

Interesting that you mention that, because I had that very same issue, and I had that very same large Cobble Generator as part of an Iron farm in my base. I then simply turned it off (without removing it) once my storage was filled enough, and haven't had a single crash since. So I suppose it's indeed some issue tied to this design.

In my case it's a 1.19.2 server with Create 0.5.0i as well, though with Fabric.

commented

UPDATE1: this issue also presents in latest mc1.19/dev commit (3f72ce0)
I have captured the VertexConsumer variable that causing this issue when it just about to crash me:
image

commented

This should now be fixed.

commented

got a friend having this crash issue, hes doing a lot of heavy create stuff.
image (6)

commented

Issue is still present on 1.20.1 in 0.5.1 patch j.

Post your log, also open a new issue instead of necro-posting on a year old issue like the banner says

This issue was closed a year ago. Please consider opening a new issue instead of leaving a comment here.

commented

Issue is still present on 1.20.1 in 0.5.1 patch j.