OutOfMemoryError: Direct buffer memory / Entity Type: minecraft:creeper
fin4llight opened this issue · 1 comments
Iris and Minecraft Version
iris-mc1.16.5-1.1.1.jar
Are you running Sodium along with Iris?
Yes
Operating System
Microsoft Windows 10 Build 19041
What is your GPU?
EVGA Nvidia GeForce GTX 750ti
Java Version
I did't touch the launcher
Reproduction Steps
any charged creeper after a few seconds.
Crash Report file and latest.log
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 26/08/21 23:13
Description: Rendering entity in world
java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:658)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at net.minecraft.class_311.method_1596(class_311.java:18)
at net.minecraft.class_287.ensureBufferCapacity(class_287.java:559)
at me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferWriter.ensureCapacity(VertexBufferWriter.java:29)
at net.minecraft.class_630.method_22702(class_630.java:540)
at net.minecraft.class_630.method_22699(class_630.java:133)
at net.minecraft.class_4595.method_22961(class_4595.java:23)
at net.minecraft.class_4595$$Lambda$5230/1553967601.accept(Unknown Source)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:408)
at net.minecraft.class_4595.method_2828(class_4595.java:23)
at net.minecraft.class_4607.method_4199(class_4607.java:34)
at net.minecraft.class_922.method_4054(class_922.java:139)
at net.minecraft.class_927.method_4072(class_927.java:43)
at net.minecraft.class_927.method_3936(class_927.java:18)
at net.minecraft.class_898.method_3954(class_898.java:261)
at net.minecraft.class_761.method_22977(class_761.java:1459)
at net.minecraft.class_761.invokeRenderEntity(class_761.java)
at net.coderbot.iris.pipeline.ShadowRenderer.renderShadows(ShadowRenderer.java:383)
at net.coderbot.iris.pipeline.DeferredWorldRenderingPipeline.renderShadows(DeferredWorldRenderingPipeline.java:688)
at net.minecraft.class_761.handler$zce000$iris$renderTerrainShadows(class_761.java:5149)
at net.minecraft.class_761.method_22710(class_761.java:1149)
at net.minecraft.class_757.method_3188(class_757.java:727)
at net.minecraft.class_757.method_3192(class_757.java:546)
at net.minecraft.class_310.method_1523(class_310.java:1048)
at net.minecraft.class_310.method_1514(class_310.java:681)
at net.minecraft.client.main.Main.main(Main.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at java.nio.Bits.reserveMemory(Bits.java:658)
at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
at net.minecraft.class_311.method_1596(class_311.java:18)
at net.minecraft.class_287.ensureBufferCapacity(class_287.java:559)
at me.jellysquid.mods.sodium.client.model.vertex.buffer.VertexBufferWriter.ensureCapacity(VertexBufferWriter.java:29)
at net.minecraft.class_630.method_22702(class_630.java:540)
at net.minecraft.class_630.method_22699(class_630.java:133)
at net.minecraft.class_4595.method_22961(class_4595.java:23)
at net.minecraft.class_4595$$Lambda$5230/1553967601.accept(Unknown Source)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:408)
at net.minecraft.class_4595.method_2828(class_4595.java:23)
at net.minecraft.class_4607.method_4199(class_4607.java:34)
at net.minecraft.class_922.method_4054(class_922.java:139)
at net.minecraft.class_927.method_4072(class_927.java:43)
at net.minecraft.class_927.method_3936(class_927.java:18)
-- Entity being rendered --
Details:
Entity Type: minecraft:creeper (net.minecraft.class_1548)
Entity ID: 5
Entity Name: Creeper
Entity's Exact location: 12.00, 57.00, 10.50
Entity's Block location: World: (12,57,10), Chunk: (at 12,3,10 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.02, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
-- Renderer details --
Details:
Assigned renderer: net.minecraft.class_887@5ee54d21
Location: 8.17,-0.62,1.63 - World: (8,-1,1), Chunk: (at 8,-1,1 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Rotation: 0.0
Delta: 0.09998822
Stacktrace:
at net.minecraft.class_898.method_3954(class_898.java:261)
at net.minecraft.class_761.method_22977(class_761.java:1459)
at net.minecraft.class_761.invokeRenderEntity(class_761.java)
at net.coderbot.iris.pipeline.ShadowRenderer.renderShadows(ShadowRenderer.java:383)
at net.coderbot.iris.pipeline.DeferredWorldRenderingPipeline.renderShadows(DeferredWorldRenderingPipeline.java:688)
at net.minecraft.class_761.handler$zce000$iris$renderTerrainShadows(class_761.java:5149)
at net.minecraft.class_761.method_22710(class_761.java:1149)
at net.minecraft.class_757.method_3188(class_757.java:727)
-- Affected level --
Details:
All players: 1 total; [class_746['MOLINOX'/2, l='ClientLevel', x=3.83, y=56.00, z=8.87]]
Chunk stats: Client Chunk Cache: 1024, 529
Level dimension: minecraft:overworld
Level spawn location: World: (8,55,8), Chunk: (at 8,3,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 3738 game time, 3738 day time
Server brand: fabric
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.class_638.method_8538(class_638.java:449)
at net.minecraft.class_310.method_1587(class_310.java:2239)
at net.minecraft.class_310.method_1514(class_310.java:699)
at net.minecraft.client.main.Main.main(Main.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
-- System Details --
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 1.16.5
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 892662520 bytes (851 MB) / 1275068416 bytes (1216 MB) up to 2583691264 bytes (2464 MB)
CPUs: 4
JVM Flags: 14 total; -Xmn128M -Xmx2449M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m
Fabric Mods:
fabric: Fabric API 0.37.2+1.16
fabric-api-base: Fabric API Base 0.3.0+c88702897d
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.2.0+6aebe11a7d
fabric-biome-api-v1: Fabric Biome API (v1) 3.1.10+3661eaa17d
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.5+ca58154a7d
fabric-command-api-v1: Fabric Command API (v1) 1.1.2+95b14da07d
fabric-commands-v0: Fabric Commands (v0) 0.2.2+ca58154a7d
fabric-containers-v0: Fabric Containers (v0) 0.1.11+9354966b7d
fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.4+5badb62d7d
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.3+ca58154a7d
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.6+61336ba97d
fabric-entity-events-v1: Fabric Entity Events (v1) 1.1.0+c88702897d
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.3+f941baf07d
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.1+ca58154a7d
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.6+ca58154a7d
fabric-item-api-v1: Fabric Item API (v1) 1.2.1+ca58154a7d
fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.7+2868a2287d
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.4+9354966b7d
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.1+ca58154a7d
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.1+ca58154a7d
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.2+ca58154a7d
fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.3+ca58154a7d
fabric-models-v0: Fabric Models (v0) 0.3.0+bc7a746f7d
fabric-networking-api-v1: Fabric Networking API (v1) 1.0.4+5badb62d7d
fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.8+ca58154a7d
fabric-networking-v0: Fabric Networking (v0) 0.3.2+ca58154a7d
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.5+c88702897d
fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.2+ca58154a7d
fabric-particles-v1: Fabric Particles (v1) 0.2.4+ca58154a7d
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.4+ca58154a7d
fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.4+f3e8589e7d
fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.4+ca58154a7d
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.0+2868a2287d
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.5+ca58154a7d
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.13+ca58154a7d
fabric-rendering-v0: Fabric Rendering (v0) 1.1.2+ca58154a7d
fabric-rendering-v1: Fabric Rendering (v1) 1.6.0+2868a2287d
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.7+6afaa13c7d
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.0+c045166c7d
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.5+9354966b7d
fabric-structure-api-v1: Fabric Structure API (v1) 1.1.11+ca0ef93d7d
fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.1+ca58154a7d
fabric-textures-v0: Fabric Textures (v0) 1.0.6+ca58154a7d
fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.7+8183d3957d
fabric-transfer-api-v1: Fabric Transfer API (v1) 1.0.0+5f6b94517d
fabricloader: Fabric Loader 0.11.6
iris: Iris 1.1.1
java: Java HotSpot(TM) 64-Bit Server VM 8
minecraft: Minecraft 1.16.5
sodium: Sodium 0.2.0+IRIS3-build.49
Launched Version: fabric-loader-0.11.6-1.16.5
Backend library: LWJGL version 3.2.2 build 10
Backend API: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 GL version 4.6.0 NVIDIA 471.68, NVIDIA Corporation
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fancy
Resource Packs: vanilla, Fabric Mods
Current Language: Español (España)
CPU: 4x Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Additional context
nothing.
Duplicate of #689.