1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved Server crashing, "Allowed memory size of ... bytes exhausted"

Discussion in 'Help' started by WinterBuild7074, Apr 22, 2017.

  1. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    both since who knows how much memory you have and server WILL get killed if you dont have enough memory to accomodate the leak
     
  2. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    How can I make an automatic restarter plugin? I want it to send an info to the players on my server before the server restarts.
     
  3. Laz

    Laz Silverfish

    Messages:
    23
    What RAM memory your server have?
     
  4. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I now changed it from 1024 to 2048.
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    No offense, but

    *How much RAM?

    Why? Because RAM means "Random access memory" saying RAM Memory would mean "Random access memory memory", which wouldn't make much sense, would it?
     
  6. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    How can I find out how much RAM I have on my server? I don't know.
     
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Bruh... :facepalm::facepalm::facepalm::facepalm::facepalm:
    Do you host on a PC or do you have a VPS or do you use MCPE specified Hosting?
     
  8. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Well, fist it would depend on how much RAM the machine has that you're running the server has. The amount of RAM you set to it is in pocketmine.yml. Look for the following line in the pocketmine.yml file:
    Code:
    #Main thread hard memory limit in megabytes. Set to 0 to disable
     #This will stop the server when the limit is surpassed
     main-hard-limit: abcd
    There will be a number where I've put "abcd". What is it?
     
  9. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I'm using VPS.
     
  10. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Yes, I did. It was set to 1024 before and I changed it to a higher number: 2048.
     
  11. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Well, most providers let u pay per RAM amount, so you shouldn't probably know that Lol
     
  12. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Do you even know what that number means? :confused::D
     
  13. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I'm paying 4.19 Euros for my whole server every month.
    Did it set it to a wrong number?
     
  14. Laz

    Laz Silverfish

    Messages:
    23
    Sorry i no speak english, if is 2048 put 40 slots and main-hard-limit: 2048, with this your server no crash.
     
  15. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    And if I want 80 slots? Then 4096?
     
  16. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    It's normally your CPU that matters the most.
     
  17. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I think I'll try and paste all the info about my server here:
    VPS Control
    OP:
    Debian 8.0 + MCPE Server
    Traffic: 500 GB
    RAM: 1GB
    Disk/memory Space: 50 GB

    Is it enough for at least 100 slots, maybe – later?
     
  18. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    try using htop and you should see MEM (smth)
    you shouldnt set it to more then what you had
     
  19. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    I don't know anything about that. Tell me exactly what I need to do, I never heard of htop or MEM.
     
  20. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    i ment running htop
    mem basically meant memory
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.