Relzyrx Posted November 6, 2023 Share Posted November 6, 2023 (edited) 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 November 6, 2023 by Relzyrx Solved the issue. Quote Link to comment Share on other sites More sharing options...
TileEntity Posted November 6, 2023 Share Posted November 6, 2023 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 Quote Try my Modpack >>Link to Curseforge<< Link to comment Share on other sites More sharing options...
Relzyrx Posted November 6, 2023 Author Share Posted November 6, 2023 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 []" Quote Link to comment Share on other sites More sharing options...
TileEntity Posted November 6, 2023 Share Posted November 6, 2023 Restart the server and add the complete latest.log from your server Add the log with sites like https://paste.ee/ Quote Try my Modpack >>Link to Curseforge<< Link to comment Share on other sites More sharing options...
Luis_ST Posted November 6, 2023 Share Posted November 6, 2023 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? Quote Link to comment Share on other sites More sharing options...
Relzyrx Posted November 6, 2023 Author Share Posted November 6, 2023 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. Quote Link to comment Share on other sites More sharing options...
Relzyrx Posted November 6, 2023 Author Share Posted November 6, 2023 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.