Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

My cmd window displays this:

[00:38:24] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []

My user_jvm_args.txt says this:

# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M

# A good default for a modded server is 4GB.
# Uncomment the next line to set it.
-Xmx14G
-Xms2G

My run.bat and run.sh are not tampered with, aside from replacing "java" with the exact filepath to java.exe in quotes.

I have Java 17. The server starts and mods function fine. Attempting to run run.bat as administrator results in:

Error: could not open `user_jvm_args.txt'

 

I'm at a loss. Please help. I just want my server to eat more RAM.

 

EDIT; "SOLVED": After testing it for the last hour or so, I've determined that the server is reading and executing the arguments correctly, and is simply not telling me in the command prompt. Running as Admin was its own problem; don't to that. An easy way to tell if this is the case: Watch the Task Manager, on the Details tab, with the Commit Size column visible. Commit Size will start out at your -Xms value, and increase as necessary up to your -Xmx value. Good to know that the code won't tell me when it's doing what I told it to. Hope this helps the next person with that concern.

Edited by Relzyrx
Solved the issue.

Test it without using the user_jvm_args.txt - so use the RAM allocation directly in your script

Something like:
 

"C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx14G @libraries/net/minecraftforge/forge/1.19.2-43.3.0/win_args.txt
pause

 

Try my Modpack

spacer.png

>>Link to Curseforge<<

  • Author
5 hours ago, TileEntity said:
"C:\Program Files\Java\jdk-17.0.9\bin\javaw.exe" -Xmx14G @libraries/net/minecraftforge/forge/1.19.2-43.3.0/win_args.txt
pause

Tried it, and it loaded, but I still received "Launching target 'forgeserver' with arguments []"

24 minutes ago, Relzyrx said:

Tried it, and it loaded, but I still received "Launching target 'forgeserver' with arguments []"

How did you install the Forge server?

  • Author
1 hour ago, TileEntity said:

Restart the server and add the complete latest.log from your server

Add the log with sites like

https://paste.ee/

Got it figured out, thanks though. Details are in the edit.

  • Author
57 minutes ago, Luis_ST said:

How did you install the Forge server?

By downloading and running forge-1.19.2-43.3.0-installer.jar, then selecting the server option and the destination folder for my server.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.