Anyway I can increase this?

Discussion in 'Help' started by Mrniceguy123, Oct 16, 2020.

  1. Mrniceguy123

    Mrniceguy123 Silverfish

    Messages:
    22
    I'm using my phone (note10+) I was wondering if there's anyway I can increase the ram of the server :/
     

    Attached Files:

  2. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    950
    GitHub:
    edwardhamham
    By installing more RAM in the system it's running on. If you're using a VPS or dedicated game host this is as easy as buying a plan with more of it. However PocketMine is less dependant on RAM and more on CPU power.
     
    Primus likes this.
  3. Primus

    Primus Zombie Pigman

    Messages:
    475
    I think that he's using phone to run the server.

    Check out settings (pocketmine.yml, server.properties)
     
    EdwardHamHam likes this.
  4. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    950
    GitHub:
    edwardhamham
    Oh right, sorry. I'm not sure how I missed that.
    Correct, in pocketmine.yml there's a setting that looks like this:
    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: 1024
    It's set to 1GB (1024MB) by default, but you can increase it or disable it. (Though I would not recommend disabling it entirely if you're hosting on a phone). There are also two others called "global-limit" and "main-limit" however these are both turned off by default. So unless you've set them they shouldn't be causing a problem. It's also possible your phone may simply be using RAM for other background tasks, so it isn't able to be used by the server.
     
    Primus likes this.

Share This Page

  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.