Need Help Increasing RAM Allocation to Server
Hello I need help increasing the ram allocated to my server. I have tried multiple online tutorials but they have not worked for me.
It is a modded forge 1.6.4 server (I did not create the server pack I am using one I found on technic launcher)
The mods are ones used on S8 of Epic Proportions. The server pack is called Epic Proportions Season 8
The server has a .bat file and it contains this information (in th picture of the note document) in it but it its not increasing the ram allocation.
When I run the .bat file for the first time this comes up (shown in the command prompt)
after I do "y" then this happens and I do not know how to fix it (second picture of command prompt)
In the screenshot of the notepad is what the .bat file shows when I open it up to edit it
I do not know what any of this means but does it have anything to do with why I cannot allocate more ram? It is not a hardware issues as I have 32gb of ram in my PC
I don't even know if this is the right place to post this.



31 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by oaken1#0
what is that start bat????
I have never seen this before
I don't know. I found this server pack on technic after trying to run these mods on a server
If I run the jar file the server will run but I'm having trouble allocating more ram
That error is from a wrong version of java
So I need to install the correct one?
Well yes
! Javaver
Recently, the Java version recommendations for Minecraft became more strict
For Minecraft <1.17, Java 11 is recommended.
Minecraft 1.17 won't start without Java 16 (or newer).
Minecraft 1.18 won't start without Java 17 (or newer).
Admincraft Canned Responses
I will try that and attempt to install java 11
I installed Java 11 I think but the same thing still happens when I run the .bat file.
do java -version
oh nvm it still says 17.06. how do I change it?
in your startup bat file replace
java
with "your/java/location/java.exe"
you will have to find where your java jdk is installed and replace that will the path
for example my start bat file "C:\Program Files\Java\jre1.8.0_331\bin\java.exe" -Xms2G -Xmx6G -jar server.jar nogui
i think i downloaded the wrong thing or something i got jdk 11 but im lost from here

open the bin folder
in there
if theres a java.exe in there
ur at the correct spot
oh i just found the java.exe in the bin folder
alright
copy the path
and just follow this
Do I need to double click the java.exe and run it?
no
follow what maven said
ok so I need to copy this?

yes
and add on \java.exe
ok
should I delete the rest of the text out of the file? and just leave what I am trying to change
yes
i feel i am doing something wrong

did u include "
""
where do I need to put that
well follow mavens exmaple
example*
copy this
and change
4G
accordinglyfor 1.6.4, you'd probably want to use Java 8 if it didn't work. I don't believe Java 11 will work with 1.6.4
they might mean 1.16.4, but if it is 1.6.4 then java 8 is the one
oh i need to install java 8 then cause it is 1.6.4 thank yall so much for the help ima keep trying when i get back from work
omg i think its working
thank yall so much
I have been working on this for over 6 months
How do I know if the server is using the right amount of ram that I set up for it
Its capping out at 2.5 gigs in task manager
if it doesnt need it
it wont use it
Ok I just didn't know because it was still lagging a little bit so I thought it would use more