VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

Minecraft 1.20.1 crashes with OutOfMemoryError: Out of stack space during Vulkan initialization

Open ryryraryra-web opened this issue 5 months ago • 1 comments

Describe the bug

Environment

  • Minecraft: 1.20.1
  • Loader: Fabric 0.19.3
  • VulkanMod: 0.5.2
  • Fabric API: 0.92.9
  • Java: Microsoft OpenJDK 17.0.15
  • OS: Windows 11 25H2
  • GPU: NVIDIA GeForce RTX 4060
  • Driver: 610.62

Description

Minecraft crashes during startup while VulkanMod is initializing.

The crash happens every time before the main menu appears.

Steps to reproduce

  1. Install Fabric Loader 0.19.3
  2. Install Fabric API
  3. Install VulkanMod 0.5.2
  4. Launch Minecraft

Expected behavior

Minecraft starts normally.

Actual behavior

Minecraft crashes with:

java.lang.OutOfMemoryError: Out of stack space

Stack trace points to:

net.vulkanmod.vulkan.Vulkan.createInstance()

Additional information

  • Fabric API only -> Works
  • Adding VulkanMod -> Always crashes
  • Same result with Official Launcher, CurseForge, and Modrinth App
  • vulkaninfo works correctly
  • Deleting config/cache does not help
  • Changing JVM arguments does not help

Crash report and latest.log are attached.

Steps to reproduce

Steps to reproduce

  1. Install a clean Minecraft 1.20.1 instance.
  2. Install Fabric Loader 0.19.3.
  3. Add only the following mods:
    • Fabric API 0.92.9
    • VulkanMod 0.5.2
  4. Do not install any other mods.
  5. Launch the game with the default Microsoft OpenJDK provided by the official launcher.
  6. The game crashes before the title screen with: java.lang.OutOfMemoryError: Out of stack space

Log files

latest.log

crash-2026-06-28_17.26.21-client.txt

ryryraryra-web avatar Jun 28 '26 08:06 ryryraryra-web

@ryryraryra-web add -Dorg.lwjgl.system.stackSize=256 to your jvm arguments. This can be closed.

Versatile-One avatar Jun 30 '26 14:06 Versatile-One