1
Does anyone know how to set java parameters
All of a sudden my server console get spammed with "warning did the time change or is the server overloaded" this has come from no where, i never used to get it but i am for some strange reason!
So im wondering does anyone know how to set java parameter so that java will use more memory ?
So im wondering does anyone know how to set java parameter so that java will use more memory ?
Create an account or sign in to comment.
1
info Note: You're viewing a single reply. View all replies
1
Java "parameters" (commonly known as JVM flags) are set using either option parameters or simple parameters. For maximum and minimum heap sizes, you can use the Xmx and Xms flags like so:
(I also threw in the -server flag, which will induce a slower startup in exchange for better runtime performance).
Simply replace the ####'s with the number of megabytes you wish to add to the task.
java -server -Xmx####M -Xms####M -jar craftbukkit.jar
(I also threw in the -server flag, which will induce a slower startup in exchange for better runtime performance).
Simply replace the ####'s with the number of megabytes you wish to add to the task.