I have forge optifine and shaders installed it works fine other than not being able to add more ram, every time I put in the JVM Arguments "-Xmx8G" it doesn't do anything, It says in game that I only have 455mb how do i add more. I run it as administrator , anyone know how to fix?
I tried everything you said to do, but no matter what I do, an error box pops up that says "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit." What am I doing wrong, or do I need to update java or something?
Above if its something to do with environment variables.
Otherwise there are many reasons for not being able to create a JVM, one of which could be that windows does not know where java is located:
https://www.java.com/en/download/help/path.xml
http://www.kingluddite.com/tools/how-do-i-add-java-to-my-windows-path
Add the path to your java install to the END of the path variable, do not replace the contents (Will be a pain in the **** fixing it if they are).