You just did a whole bunch of unneeded stuff that will not fix your error at all. Never trust YouTube unless you actually know what you are doing (or if the creator themselves know what they are doing).
Virtual memory will do absolutely nothing to solve your issue, as the JVM is limiting memory usage it's self, not the system. I would also advise you to read this article by Microsoft. You can revert that unnecessary page file edit.
The "_JAVA_OPTIONS" variable is a powerful Environment Variable that will run all Java applications with those parameters. You seem to have allocated 512MB also, which is useless as that is also Minecraft's default allocation. Remove that Environment Variable, as it does not help you at all (if anything, it is forcing you to use that allocation).
The crash you are getting is to do with the Resource Pack you are running. "Sphax PureBDcraft 512x MC17" -- that is a 512x resolution resource pack, which will require a very powerful computer to even handle. Your current integrated graphics chipset is also low-end and just barley makes Minecraft's minimum requirements.
After you have done all that, please remove the resource pack, and Minecraft should be able to properly function.
4