1

Does anyone know how to set java parameters

1 emerald 1 reply 65 views | started 10/05/2012 3:53 pm by jayjaymozza
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 ?
Posted by avatar
jayjaymozza
Level 24 : Expert Explorer
14

1 reply

You've narrowed down to a single reply tree. Click here to return to full comment list.
1
10/06/2012 12:16 am
Level 12 Journeyman Crafter
Rogue
avatar
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:

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.

Search

Browse

Site

© planetminecraft.com

Welcome