1

Does anyone know how to set java parameters

jayjaymozza's Avatar jayjaymozza10/5/12 3:53 pm
10/6/2012 12:16 am
Rogue's Avatar Rogue
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 jayjaymozza's Avatar
jayjaymozza
Level 25 : Expert Explorer
14

Create an account or sign in to comment.

1

info Note: You're viewing a single reply. View all replies
1
10/06/2012 12:16 am
Level 12 : Journeyman Crafter
Rogue
Rogue's 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.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome