Difference between revisions of "Translations:Server installation/10/en"
From Pixelmon Wiki
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
==== Starting on Windows ==== | ==== Starting on Windows ==== | ||
− | # If you haven't | + | # If you haven't already, enable showing file extensions by following [https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/ this guide]. |
# Within the server's base ('''"root"''') folder, create a new file named <code>start.bat</code> or something similar. | # Within the server's base ('''"root"''') folder, create a new file named <code>start.bat</code> or something similar. | ||
#* ''Note: You can give the file another name, but make sure it ends in <code>.bat</code>.'' | #* ''Note: You can give the file another name, but make sure it ends in <code>.bat</code>.'' | ||
# Right click this file, and click <code>Edit</code>. | # Right click this file, and click <code>Edit</code>. | ||
# Copy the following contents into the file: | # Copy the following contents into the file: | ||
− | #: <pre>java -Xmx3G - | + | #: <pre>java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui PAUSE</pre> |
− | # Replace <code>[VERSION]</code> with the version of Forge you installed. | + | # Replace <code>[VERSION]</code> with the version of Forge you installed. Make sure the file name is an exact match! |
− | |||
# If necessary, change the amount of allocated memory (<code>-Xmx3G</code>) and the minimum (<code>-Xms3G</code>) to your desired amount. | # If necessary, change the amount of allocated memory (<code>-Xmx3G</code>) and the minimum (<code>-Xms3G</code>) to your desired amount. | ||
# Save the file and double-click it to start the server. | # Save the file and double-click it to start the server. |
Latest revision as of 10:16, 29 August 2020
Starting on Windows
- If you haven't already, enable showing file extensions by following this guide.
- Within the server's base ("root") folder, create a new file named
start.bat
or something similar.- Note: You can give the file another name, but make sure it ends in
.bat
.
- Note: You can give the file another name, but make sure it ends in
- Right click this file, and click
Edit
. - Copy the following contents into the file:
java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui PAUSE
- Replace
[VERSION]
with the version of Forge you installed. Make sure the file name is an exact match! - If necessary, change the amount of allocated memory (
-Xmx3G
) and the minimum (-Xms3G
) to your desired amount. - Save the file and double-click it to start the server.