Can't Give The Server More RAM (Help)

Discussion in 'Bukkit Help' started by TechPerson32, Mar 17, 2013.

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

    TechPerson32

    Hello, one day I gave my server 2 1/4 GB (2304 MB). Later I wanted to give it 256 more megabytes. After I changed -Xmx and -Xms numbers to 2560M (both), my server won't start because it can't reserve enough space for 'object heap'. After seeing this, I reverted it back to 2304M. Started the server and got the same error. I set the amount of RAM the server can use to 1024 MB (1 GB), and now it's quite laggy when I play on it.

    OS: Windows 8 PRO 32-bit
    Java Version: 1.7.0_15
    CraftBukkit Build: 2663
    Allocated RAM: 1GB (any more, and the server won't start)
    Available RAM 4GB (I do not want to use more than 2 1/2 GB)

    Please tell me if you need more information.

    Thank you
     
  2. Offline

    akira01

    I believe that you can't allocate fractions of a gig (please correct me if I'm wrong) It should still work but it will just round down. Just give it 2048MB and see where that gets you.
     
  3. Offline

    TechPerson32

    1. Didn't work
    2. I didn't type 2048 1/2MB for the RUN.bat. I wen't to a calculator and do 512 / 2 + 2048 = 2304MB. Besides, the server used to have 2304MB, which is 2 1/4 GB.
     
  4. Offline

    akira01

    Yeah I figured you didn't use an actual fraction but What I was saying is that Java can't utilize 2304MB It needs either 2048 or 3072. It's got to be a whole gig.

    Also what plugins are you using? Try running another test server with no plugins and see if that solves anything
     
  5. Offline

    TechPerson32

    You may not want to see my list of plugins. It's extensive. Since the server is supposed to be public, I have forty four. I'm getting the empty server now.

    Empty server had no change.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  6. Offline

    akira01

    What version of CraftBukkit are you using?
     
  7. Offline

    TechPerson32

     
  8. Offline

    akira01

    Sorry IDK how I missed that :p But yeah it is a dev build therefore there are going to be some issues there. Was this an issue with any of the CraftBukkit version for 1.4.7?
     
  9. Offline

    TechPerson32

    The server was never played in 1.4.7. Only 1.5. Other servers I made with < 1.4.7 were personal, and had only 1GB of memory allocated.
     
  10. Offline

    akira01

    Then this is clearly an issue with CraftBukkit itself. You can try using build 2665 but I think that you will have to end up waiting for a beta release. I don't really know what else you can do here.
     
  11. Offline

    B0Mb3R

    You will need java 64-bit and OS 64-bit
    beacause Java 32-bit only recognizes 1024MB/1G you cant put more than 1024MB/1G
    Install 64-bit Java and try it!
    I hope i helped

    sorry for my bad english is anything is wrong with the words

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  12. Offline

    TechPerson32

    Oh, then that won't work because I have an old 32-bit computer (with Windows 8 >:3)

    Your English was good until you apologized for it. :p
     
  13. Offline

    Bobcat00

    Try 1536m. That's the generally accepted maximum for a 32-bit system.
     
Thread Status:
Not open for further replies.

Share This Page