Hey guys, I am running a dedicated server (starting by running the batch file), building a project for a server event we have planned. The problem is that the server is running out of memory. It refuses to use more than 1,035,520KB (the memory info in the upper left) and garbage collection isn't happening fast enough before it is running out of memory.
The server startup file is set to the following-
java -Xms2048m -Xmx4096m -Xincgc -Xshareff -jar StarMade.jar -server
Yet despite of this, the server starts with 128KB of memory and maxes out at ~1GB, as if it doesn't care about the java parameters. When the server starts, the top line referances those exact parameters.
Any suggestions?
Edit: I have 16GB of RAM, and a 64bit OS and 64bit java if you are wondering.
The server startup file is set to the following-
java -Xms2048m -Xmx4096m -Xincgc -Xshareff -jar StarMade.jar -server
Yet despite of this, the server starts with 128KB of memory and maxes out at ~1GB, as if it doesn't care about the java parameters. When the server starts, the top line referances those exact parameters.
Any suggestions?
Edit: I have 16GB of RAM, and a 64bit OS and 64bit java if you are wondering.