#Java args don't work on the Fabric Server

1 messages · Page 1 of 1 (latest)

vast coral
#

Hello,
i'm running the Server Version from Better MC Fabric and my Server keeps crashing, because it's out off free RAM.
Unfortunately the "user_jvm_args.txt" wasn't created, so i cant add more RAM to the Java args. I manually created it and inserted the args, but it wont load. I also tried it in the Powershell Script.
Can someone please help me. Thanks

thorny python
#

There should be a variable inside the start script called ARGS where you can put them

#

I jusr checked, look for $JavaArgs = "" and put your args inside the double quotes

patent yoke
#

!ramargs

polar topaz
#
  1. Double click the start.ps1 instead of opening with Powershell
  2. On line 16, where it says $JavaArgs, you can add your args there.
    -Xmx8G will set your maximum memory usage to 8 gigabytes.
vast coral
#

I added the args inside the $JavaArgs and it seems to work, but i still got the message, " Can't keep up! Is the server overloaded?" at least the server doesn't crash. ^^

Thanks for your help!

patent yoke
#

do you have 64bit java

vast coral
#

Yes, using Version 18.0.2.1

patent yoke
#

no

#

64bit

vast coral
#

Yes, its the 64Bit Version

thorny python
#

iirc jvm needs some time to warmup and initial start might lag behind for a few seconds