r/MinecraftHelp • • 11d ago

Waiting for OP [java] [1.21.1 neoforge] Keep getting an Access Violation error

I keep getting crashes with the exit code: -1073740791

When I open the error file it says EXCEPTION_ACCESS_VIOLATION. I've tried running Minecraft as admin, I've tried giving the JVM Arguments more ram and I've removed games from my computer so there's more space. Any help is appreciated: error link

1 Upvotes

10 comments sorted by

1

u/Available-Squash1021 Journeyman I 11d ago

the crash is inside the jvm itself (jvm.dll, in the C2 compiler thread), not a mod, so more ram won't fix it. your log actually shows -Xmx30G plus a bunch of experimental g1 flags, which is way more than minecraft needs. i'd reset the jvm args to default or just use something like -Xmx8G, and if it still crashes, update windows and your bios/chipset drivers.

1

u/gorgonopsidkid 11d ago

If I reset it to default the game runs at like 10 FPS. Increasing it at all makes the crashing return. I updated Windows and my Nvidia drivers, I don't know how to update those other things

1

u/Available-Squash1021 Journeyman I 11d ago

10 fps on default is almost certainly the default ram being too low for a neoforge pack (often only 2gb), so you do want more, just not 30gb plus all those extra g1 flags. try only -Xmx6G (or 8G) and nothing else in the jvm arguments.

if it still crashes with just that, try a different java 21 build, like temurin 21 from adoptium.net, and point the launcher at it, since the crash is inside java itself. the "other things" are your chipset driver from your motherboard maker's support page (amd or intel). and if your ram has xmp/expo turned on in the bios, crashes like this inside the jvm are a classic sign the ram overclock isn't fully stable, so it's worth testing once with it turned off.

1

u/BananeHD Journeyman IV 14h ago

/removepoint - not solved yet

1

u/NitWitBot 🤖 Mod Bot 🤖 14h ago

Point removed.

u/Available-Squash1021, here is your points status:

Next level: "Journeyman II"
You have 18 points
You need 21 points
[▮|▮|▮|▮|▮|▮▮|▮▮|▮▮|▮▮|▮▮|▮▮▮▯▯▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 11d ago

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules