I host a server for my friends from my house. I currently use a 1.8.4 server.exe client. It is a vanilla client and has worked fine until recently. It seems to be more laggy than what it usually is and is starting to irritate my friends. I am not sure why it is super laggy now. It is not FPS lag cause i am always pulling 60 and its not internet lag cause they usually have a ping of around 100. It acts like its almost mob lag but there is more to it than that. I have an Intel Core I-7 4820K and if it is true that servers are multi-threading then I'm not sure why i'm having lag. My server usually caps off around 15% cpu use for some reason. It never uses more than that. I would be willing to mod my server if it was a performance boosting mod only. I feel that it is worth saying that when all of us are within the same area there is little lag and the tick speed sits around 20 ms. However, whenever anyone either enters a new area or generates new land it gets really laggy and the tick speed goes anywhere from 30-150 ms. I'm not sure why this happens and I would love some help with this issue. Thanks in advance for any help!
I'm not sure how much RAM it is able to use or how to check how much it can use. Looking at the server GUI it says about 200-300 MBs are in use. If you look at task manager it says it is using around 500 MB. Though those are what is being used not how much it can use. If it helps I have JRE 7 32-bit and JRE 8 64-bit. I do not start the server through a batch file either.
From what you're saying, you already have the .jar version. If it can't find the jar, it's most likely that the names aren't exactly the same, or the files are in different places.
I tried renaming the file and doing the command like you said, but I still could not get it to work. I know I downloaded the .exe version of the server and not the .jar version. I tried locating the file in a different location other than my server folder on my desktop, but I could not find a trace of it anywhere else than in the folder. Is there a specific place I need to look for the file other than the folder I created. Like I said I have Java 8 64-bit and 7 32-bit. If I need to I can download the .jar version and use it instead of the .exe version. If I do that I can transfer my server properties and world from my current server to the new one right?
Well, if you want to run the server from a .bat file, you need the .jar file. The .exe is exactly the same, but the .jar is more customisable and usable.
All I need is the jar file name of my server for my batch file. I am not sure how to find the jar file name or where it would be located. Is there any way to find the file name and its location? Also I'll try using the .jar version instead of the .exe tonight to see if adding more RAM is the solution to my lag. Hopefully it is the solution.
I downloaded a 64-bit version of java and the server seems to be running faster. I am using the .jar version instead of the .exe because I could not get the batch file to work with it (no matter how hard I tried). I was also able to allocate 1 gig of RAM and that seemed to help. My server appears to be taking advantage of its multi-threading ability now because it uses more than just 15% of my CPU power. Most of my lag seems to have gone away. Thanks for the help and if there are any more problems I will update this thread.
I host a server for my friends from my house. I currently use a 1.8.4 server.exe client. It is a vanilla client and has worked fine until recently. It seems to be more laggy than what it usually is and is starting to irritate my friends. I am not sure why it is super laggy now. It is not FPS lag cause i am always pulling 60 and its not internet lag cause they usually have a ping of around 100. It acts like its almost mob lag but there is more to it than that. I have an Intel Core I-7 4820K and if it is true that servers are multi-threading then I'm not sure why i'm having lag. My server usually caps off around 15% cpu use for some reason. It never uses more than that. I would be willing to mod my server if it was a performance boosting mod only. I feel that it is worth saying that when all of us are within the same area there is little lag and the tick speed sits around 20 ms. However, whenever anyone either enters a new area or generates new land it gets really laggy and the tick speed goes anywhere from 30-150 ms. I'm not sure why this happens and I would love some help with this issue. Thanks in advance for any help!
I'm not sure how much RAM it is able to use or how to check how much it can use. Looking at the server GUI it says about 200-300 MBs are in use. If you look at task manager it says it is using around 500 MB. Though those are what is being used not how much it can use. If it helps I have JRE 7 32-bit and JRE 8 64-bit. I do not start the server through a batch file either.
I tried running several batch codes that I saw online and none of them worked.I ran the following code:
java -Xms1G -Xmx4G -jar minecraft_server.1.8.4
pause
And every time I got the following message:
Unable to access jarfile minecraft_server.1.8.4
Should i just download the .jar version instead of the .exe version because from what I have seen you have to start that version from a batch file?
From what you're saying, you already have the .jar version. If it can't find the jar, it's most likely that the names aren't exactly the same, or the files are in different places.
I tried renaming the file and doing the command like you said, but I still could not get it to work. I know I downloaded the .exe version of the server and not the .jar version. I tried locating the file in a different location other than my server folder on my desktop, but I could not find a trace of it anywhere else than in the folder. Is there a specific place I need to look for the file other than the folder I created. Like I said I have Java 8 64-bit and 7 32-bit. If I need to I can download the .jar version and use it instead of the .exe version. If I do that I can transfer my server properties and world from my current server to the new one right?
Well, if you want to run the server from a .bat file, you need the .jar file. The .exe is exactly the same, but the .jar is more customisable and usable.
All I need is the jar file name of my server for my batch file. I am not sure how to find the jar file name or where it would be located. Is there any way to find the file name and its location? Also I'll try using the .jar version instead of the .exe tonight to see if adding more RAM is the solution to my lag. Hopefully it is the solution.
Adding RAM usually fixes lag problems. The jar file name is simply the name of that specific file, so you could even rename it to make it shorter.
I downloaded a 64-bit version of java and the server seems to be running faster. I am using the .jar version instead of the .exe because I could not get the batch file to work with it (no matter how hard I tried). I was also able to allocate 1 gig of RAM and that seemed to help. My server appears to be taking advantage of its multi-threading ability now because it uses more than just 15% of my CPU power. Most of my lag seems to have gone away. Thanks for the help and if there are any more problems I will update this thread.