Hello, it me again (Yes ME, Boring Old Me) I need to know what is the best startup script with lots of space (For less lag) for a 64 Bit computer for spigot/craftbukkit/minecraftserver (I use spigot because it reduces lag, and its better, Also i want to setup BungeeCord soon so i needed it )
Here is my startup script (I think its for 32 Bit?)
"C:\Program Files (x86)%\Java\jre7\bin\java.exe" -Xms1024M -Xmx1024M -jar spigot.jar -o true
PAUSE
(I like Smiley faces, can you tell?)
Here is my startup script (I think its for 32 Bit?)
"C:\Program Files (x86)%\Java\jre7\bin\java.exe" -Xms1024M -Xmx1024M -jar spigot.jar -o true
PAUSE
(I like Smiley faces, can you tell?)
Create an account or sign in to comment.
3
As I said, it's different for every person. You should look up the flags and see what they do, and then tweak them as necessary. The ones in code tags can be added as-is, with the exception of the ParallelGCThreads flag, which needs a number set to it (not more than the number of cores on your CPU).
ok, but could you provide the WHOLE startup script? Or a RemoteToolkit startup script? (I use remotetoolkit, so i can automaticaly restart my server every hour) I just got into computers a while ago, so im not that great...
It's different for every person, and the JVM is usually fairly good at adjusting itself as necessary. You could try to fix explicit gc calls, which I believe essentials does, with the flag:
Another way you could improve is running parallel gc:
there are many other flags, such as the AggressiveOpts flag, or using ConcMarkSweepGC, but overall tweaking a Java VM environment is very high-level and most of the time not recommended.
-XX:+DisableExplicitGC
Another way you could improve is running parallel gc:
-XX:+UseParNewGC -XX:ParallelGCThreads=# <- number of threads to use for GC
there are many other flags, such as the AggressiveOpts flag, or using ConcMarkSweepGC, but overall tweaking a Java VM environment is very high-level and most of the time not recommended.