How to configure server RAM?

GigaSigma

New Member
I have an Android яI don’t understand how to add RAM, the default is 1.4GB I want to add, I can’t find the file or is there a console command for this, who knows, tell me
 

PetteriM1

Resource Mod
Staff member
You can use -Xmx and -Xms in the start command to set memory allocation. Xmx sets the maximum allocated memory and Xms initial allocation. Note that using 32 bit Java limits the amount you can allocate.

For example:
java -Xms1G -Xmx1G -jar nukkit-1.0-SNAPSHOT.jar
or
java -Xms1024M -Xmx1024M -jar nukkit-1.0-SNAPSHOT.jar
 
Top