Heya, i'm trying to make a server for me and my girlfriend to play on howerver i've been having a couple of issues when setting the server up.
I had a previous problem not having Java JRE installed, got that downloaded then created a folder in the /bin subfolder called 'Server' and copied all the files inside the 'Client' folder which got past that little bump but now i'm stuck with this error here when clicking "ServerStart.bat" batch file.
Starting server
Java HotSpot(TM) Client VM warning: ignoring option PermSize=256M; support was removed in 8.0
Java HotSpot(TM) Client VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
Error occurred during initialization of VM
Could not reserve enough space for 4169728KB object heap
Exiting...
Press any key to continue . . .
Got a little bit further by editing the "StartServer.bat" file to read
"
> nul 2>1
:startserver
echo Starting server
java -server -Xms512M -Xmx1024M
"
-Xms512 was %MINRAM% before, -Xmx1024M was %MAXRAM%
But onto the next problem, this is what it's saying now
[21:00:13] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
[21:01:37] [Server thread/INFO]: Stopping server
[21:01:40] [Server thread/INFO]: Saving worlds
[21:01:48] [Server thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.OutOfMemoryError: Java heap space
>
Heya, i'm trying to make a server for me and my girlfriend to play on howerver i've been having a couple of issues when setting the server up.
I had a previous problem not having Java JRE installed, got that downloaded then created a folder in the /bin subfolder called 'Server' and copied all the files inside the 'Client' folder which got past that little bump but now i'm stuck with this error here when clicking "ServerStart.bat" batch file.
Starting server
Java HotSpot(TM) Client VM warning: ignoring option PermSize=256M; support was removed in 8.0
Java HotSpot(TM) Client VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release
Error occurred during initialization of VM
Could not reserve enough space for 4169728KB object heap
Exiting...
Press any key to continue . . .
Any help would be appreciated
Got a little bit further by editing the "StartServer.bat" file to read
"
> nul 2>1
:startserver
echo Starting server
java -server -Xms512M -Xmx1024M
"
-Xms512 was %MINRAM% before, -Xmx1024M was %MAXRAM%
But onto the next problem, this is what it's saying now
[21:00:13] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
[21:01:37] [Server thread/INFO]: Stopping server
[21:01:40] [Server thread/INFO]: Saving worlds
[21:01:48] [Server thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.OutOfMemoryError: Java heap space
>