Solved Maximum Memory different from Allocated Memory part 2

Discussion in 'Bukkit Help' started by hebsu31, Jun 1, 2020.

Thread Status:
Not open for further replies.
  1. Offline



    I am running a Bukkit server and I was checking my TPS when I saw that my 'Maximum Memory' was different from my 'Allocated Memory'. My TPS is always all over the place. I started the server with 16GB of RAM, it says it's using only 2GB. How do I use all of my RAM I started it with?

    This is my starting command line:
    java -Xms16384M -Xmx16384M -jar bukkit.jar

    The console shows:Server>java -Xms16384M -Xmx16384M -jar bukkit.jar

    Whilst the game is working fine when it is 4-5 of us, it might struggle when I have the other 50 players joining next week...

    I found an old similar thread : which suggests that the server only uses the memory needed WHEN needed. But sadly it is not the case...

    Thank you for your guidance.

    Attached Files:

    Last edited: Jun 1, 2020
  2. Offline

    timtower Moderator Moderator

    @hebsu31 Why not just remove those arguments?
  3. Offline


    Hi, @timtower

    I am neophyte... What do you mean by "those arguments". sorry.

    I am using 1.14.4 if it helps too

    Context might help:

    - I am a teacher trying to set up Minecraft at school.
    - we are using the school server
    - I am not a Minecraft expert
    - The goal is to have 50 students working on a school project (hence the 55 students at the same time)

    As it happens, a kid set up the server, but he has now left. I am learning the hard (but fun) way!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Jun 2, 2020
  4. Offline

    timtower Moderator Moderator

    @hebsu31 Why not just use
    java -jar bukkit.jar
  5. Offline


    thanks for the reply.

    changed it, nothing changed.

    - I checked that the computer was x64.
    - I gave maximum boot memory in the msconfig

    I am puzzled.

    the only thing left would be to update the bukkit. jar. But the students want to play te 1.14.4 version until the 1.16 comes out.
  6. Offline

    timtower Moderator Moderator

    @hebsu31 The jar does not handle memory.
    Where did you get that image from?
  7. Offline



    the game minecraft itself.

    Top right corner of the game.

    Gaming PC which is quite good.
  8. Offline

    timtower Moderator Moderator

    That value has nothing to do with the server.
  9. Offline



    So i don't worry then!
  10. Offline

    timtower Moderator Moderator

    If there is an issue in the server then you will see that on the server itself in the console window.
  11. Offline


    This is what I always get:

    Can't keep up! Is the server overloaded? Running 11363ms or 227 ticks behind

    Sometimes more...
  12. Offline

    timtower Moderator Moderator

    That would be the CPU, when is it doing that? Startup?
  13. Offline


    Whenever I cut a lot of blocks (over 5 million blocks)
  14. Offline

    timtower Moderator Moderator

    Yeah, don't do that.
    And if you want to edit that much: do it in smaller chunks.
  15. Offline


    so I was the problem!

    Thank you for your time and patience Tim. Apologies if I wasted your time.
  16. Offline

    timtower Moderator Moderator

    Time enjoyed wasting is not wasted time ;)
    Have fun with the server!
    dot dot dot and hebsu31 like this.
Thread Status:
Not open for further replies.

Share This Page