So, I've basically tried for over 2 hours now to allocate more RAM to my Forge server. I've watched Youtube videos, read a ton of forum posts, but still I am coming up short. What everyone is telling me is that I'm to make a batch file containing the following:
which will then allocate 2GB of ram to the server. "mcforge.jar" is the name of the server jar which I've renamed. Now what I think the problem is is that when I launch this .bat-file, the path is always set to "C:\Windows\system32" in the command prompt. I feel like a total idiot not knowing how to change or fix this, but hell I've tried. A lot. I'd be incredibly happy if someone could give me a reason to facepalm!
Well, it looks to me like it has around 450-500mb cause that's when the server overloads/crashes. I'd like it to use 14GB of ram since i have a dedicated server I don't know if that would be smart or even possible.
If you computer is 64, how much ram does it have? In my opinion you should only allow it to use one below half of your ram... For example, if your PC has 6 GB of ram you should only allow 2 GB, unless your PC does not do anything but run the server then I guess you could allow as much as you want, but to avoid issues the max you should allow (if you have 6 GB like the example) is 4 GB because your OS still needs ram and all the other programs.