I am trying to allocate more RAM to forge because I want to play with a lot of mods, so I edited the JVM argument -Xmx2G to -Xmx8G, but forge could still only use 2GB.
I already reinstalled Java (64 bit) and Minecraft but it didn't change.
Does anyone know what is the problem?
PC specs: Intel 8750H, 16gb RAM, GTX 1060 mobile 3g