Vanilla Minecraft crashes with EXCEPTION_ACCESS_VIOLATION after changing RAM

I could make a few suggestions, that

  1. you could try updating java version to latest.

  2. You could try installing java x86 version as suggested by @MrParrot.

  3. You could try giving more ram to minecraft, remember keeping at least 3gb free for your pc to function properly.

  4. The most obvious one is to write a support email or report error to Mojang.

I hope this could help you. If not, then I am sorry.