How To Add More RAM to A Minecraft Server

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 62

  • @TheBreakdownXYZ
    @TheBreakdownXYZ  11 месяцев назад

    ★ Start a 24 Hour, DDOS protected Minecraft server in under 5 minutes at SimpleGameHosting!
    TheBreakdown.xyz/SGH
    How To Make A Minecraft Server: TheBreakdown.xyz/ServerTutorial
    2GB Server:
    java -Xmx2048M -Xms2048M -jar server.jar nogui
    PAUSE
    4GB Server:
    java -Xmx4096M -Xms4096M -jar server.jar nogui
    PAUSE
    Download Java: TheBreakdown.xyz/Java
    Run the Jarfix: TheBreakdown.xyz/Jarfix

  • @jarethdoerr242
    @jarethdoerr242 11 месяцев назад +64

    Um I was wondering what’s the recommended amount of dedicated wam that I should add to the sever

    • @JordyInnercent
      @JordyInnercent 9 месяцев назад +1

      16 gb ram would be good for any server

    • @Jordan3.7
      @Jordan3.7 6 месяцев назад +4

      Underrated comment

    • @pyrosyphon
      @pyrosyphon 5 месяцев назад

      1:35 cmon man watch it thoroughly

    • @MartDaMarMot
      @MartDaMarMot 4 месяца назад

      @@pyrosyphonsearch up superkai64

    • @hyenasami8481
      @hyenasami8481 2 месяца назад +2

      Legendary reference

  • @koyoulin
    @koyoulin 11 месяцев назад +3

    literally just looking for holy ur a real hero my guy!

  • @koyoulin
    @koyoulin 11 месяцев назад +7

    hey The Breakdown!!! The Real Problem is with the Forge Server Folder, where you already have the RUN.BAT file and it seems hard to edit the ram with it. SOS plz

    • @KhakiYT
      @KhakiYT 10 месяцев назад +4

      You can edit it in the user jvm args file

    • @Fertanne
      @Fertanne 10 месяцев назад +1

      wdym? where can I find the file?@@KhakiYT

    • @reeceellerbroek3617
      @reeceellerbroek3617 10 месяцев назад +1

      how do u do so@@KhakiYT

    • @cloverleaf-ot6cg
      @cloverleaf-ot6cg 7 месяцев назад

      ​@@Fertanne bit late but the file is called user_jvm_args.txt just add at the bottom -Xmx4G then the amount to add following i put 4G as an example

    • @cloverleaf-ot6cg
      @cloverleaf-ot6cg 7 месяцев назад

      @@reeceellerbroek3617 bit late but the file is called user_jvm_args.txt just add at the bottom -Xmx4G then the amount to add following i put 4G as an example

  • @sunsetatnoon2189
    @sunsetatnoon2189 10 месяцев назад +11

    what if i dont have a server.jar file... the video says with what ever i do start my server.. with what i do start my server is the run.bat file wich i already have so im not sure what im supposed to do. to summen things up 1- i have no server.jar file 2- run.bat file already excists 3- do i have to "overrwirte" the excisting run.bat file and start the server by open up the run.bat file?
    and what number do i have to use for exampel 8gb or 16 gb or smotheing in between where do i finde these ?
    thank u minecraft community

    • @Mr.D1
      @Mr.D1 9 месяцев назад

      You have a file called "user_jvm_args.txt" and there u can type "Xmx8G -Xms6G" for example

    • @justinmedina2969
      @justinmedina2969 4 месяца назад

      having the same issue someone help us

    • @lonsio2830
      @lonsio2830 2 месяца назад +3

      After 30 minutes trying things, I found it, just locate user_jvm_args.txt in the server files and change -Xms4 and -Xmx8G to whatever you want.

    • @sunsetatnoon2189
      @sunsetatnoon2189 2 месяца назад

      @@lonsio2830 thanks a lot!!

  • @DarkFire-me1hg
    @DarkFire-me1hg 10 дней назад

    i have a question. if i run a minecraft server on my second computer can a dedicate all the ram on that computer to the server or do i need to have a little for the computer it self?

  • @RealStudBrownie
    @RealStudBrownie 16 дней назад

    so ive had my minecraft server for quite a while now, and am running 1.15.2 and tried adding more ram in the correct file, but i get the error "Invalid maximum heap size: -Xmx4096M
    The specified size exceeds the maximum representable size.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit." but it works perfectly when using the standard 1024M. not sure why this wont work

  • @joshuajones3557
    @joshuajones3557 6 месяцев назад +3

    I followed the steps and allocated 4 gb of ram to my server, but when I log in the server and press F3, it gives me a percentage of ram being used out of 2gb (2048mb) in the upper right hand corner. Does this mean it didn't work for me?

    • @toasty9535
      @toasty9535 6 месяцев назад +3

      f3 i believe is on the client so I THINK it will display what u have - I actually have no clue I'm just guessing

    • @Itwasmeseafood
      @Itwasmeseafood 5 месяцев назад

      this is a problem for me to and the server is laging bad

    • @xratheiceking2774
      @xratheiceking2774 5 месяцев назад +1

      It’s basing it off of your client, so that’s how much Ram you have dedicated to your client of MC not to the server itself.

    • @xratheiceking2774
      @xratheiceking2774 5 месяцев назад

      @@ItwasmeseafoodSee my comment above. Just search up “how to add more Ram to Minecraft client”

  • @vndr3i422
    @vndr3i422 11 месяцев назад +5

    i dont have a server.jar i only have run.bat

    • @KhakiYT
      @KhakiYT 10 месяцев назад

      You can edit it in the user jvm args file

    • @yalocaldex
      @yalocaldex 5 месяцев назад

      @@KhakiYT so just get rid of the "#"?

  • @christianm1397
    @christianm1397 17 дней назад

    I did everything in the video correctly but im not getting more ram and i have 64 bit java help pls?

  • @omarramirez8568
    @omarramirez8568 10 месяцев назад

    My .bat file keeps getting overwritten even if I tick the 'read only' box. How do I stop it?

  • @faerydwoll
    @faerydwoll 11 месяцев назад +1

    can you please make a tutorial on how to download OptiForge in 2024? (1.20.4) mine seems to crash every time i launch it with optifine and forge

    • @gtALIEN
      @gtALIEN 5 месяцев назад +1

      stop using optifine

  • @RedPhilip0912
    @RedPhilip0912 9 месяцев назад

    Hey, thanks for the helpful video. May I ask, do you know what is the default RAM allocated for java server? Without tinkering any of the ram allowance.

  • @yalocaldex
    @yalocaldex 5 месяцев назад

    what if I don't have the server jar? because mine is modded

  • @serafin6452
    @serafin6452 6 месяцев назад

    May i ask how do i do this on bedrock edition server?

  • @JFERG229
    @JFERG229 10 месяцев назад

    Is it possible to still access the paper console to see what's going on with the server or do you have to use the CMD console then?

    • @Neks.
      @Neks. 4 месяца назад

      remove the nogui

  • @vsnijeijoef
    @vsnijeijoef 11 месяцев назад

    can you make a step by step guide on how to download the create mod if you can that would be so helpful thank you so much

  • @sulkku5043
    @sulkku5043 4 месяца назад

    for me it said some error and did not work i used forge 1.12.2

  • @Lunaisded
    @Lunaisded 8 месяцев назад

    I forgot which one is the minimum is it Xmx or Xms

    • @Rainiermix
      @Rainiermix 6 месяцев назад +1

      minimum is xms

  • @aggelosprintezis1808
    @aggelosprintezis1808 8 месяцев назад

    Thanks you have helped me with a lot of problems but I still dont know how to allow more Ram usage for a Forge server (hosted it from your video) that it hasn;t got a server.jar file and the run.bat file hasn't any available choice of ram
    Please if anyone know it would help me a lot

    • @aggelosprintezis1808
      @aggelosprintezis1808 8 месяцев назад

      When I run the server i get a message on the cmd :
      Picked up _JAVA_OPTIONS: -Xmx2048m
      but how can I ''edit'' this?

  • @M2D2YT
    @M2D2YT 2 месяца назад

    it just does not work for me

  • @AwkCrafty
    @AwkCrafty 4 месяца назад +1

    Thank you Minecraft Lester

  • @silifox7774
    @silifox7774 7 месяцев назад

    chantaum peoen latula (thanks in mapudungun)

  • @JOYBOY-iq4nu
    @JOYBOY-iq4nu 6 месяцев назад

    How to add in bedrock

    • @thonondor
      @thonondor 22 дня назад

      get java. problem solved.

  • @noahpinto6963
    @noahpinto6963 10 месяцев назад

    SO BAD L UPDATE

  • @Tyrnorog
    @Tyrnorog 11 месяцев назад +3

    FIRST

  • @syedtanimulislam203
    @syedtanimulislam203 11 месяцев назад +1

    I am 2nd

  • @PRIX.mp4
    @PRIX.mp4 9 месяцев назад

    error for me when trying to open the run.bat
    java -Xmx4096M -Xms4096M -jar server.jar
    A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
    at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
    Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
    at net.minecraft.launchwrapper.Launch.(Launch.java:34)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    ... 6 more