I want to create a server with Mods to play with friends. The problem lies in RAM. My computer has enough (16Gb) to run the server while I play. But when I put more than 2-3 mods there is lagg (among those Mods one is Pixelmon) How can I increase the RAM memory so that this does not happen?
I tried to create a .bat file with different JAVA arguments to increase that RAM when running the forge.jar, but when it starts it automatically closes and nothing happens. I've also downloaded 64bit Java and neither. I do not know what else to do