crashdump Allowed memory size of 1073741824 bytes exhausted (tried to allocate 81920 bytes)

Discussion in 'Help' started by TeraCube, Jun 16, 2019.

  1. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    what is the problem
    server running on 3.8.4
    https://jenkins.pmmp.io/job/PocketM...ocketMine-MP/1765/artifact/PocketMine-MP.phar

    average 70 players when server crashed

    thanks

    Code:
    Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 81920 bytes)
    File: src/pocketmine/level/Level
    Line: 1650
    Type: E_ERROR
    
    Code:
    [1641]
    [1642]             if($direct){
    [1643]                 $this->sendBlocks($this->getChunkPlayers($pos->x >> 4, $pos->z >> 4), [$block], UpdateBlockPacket::FLAG_ALL_PRIORITY);
    [1644]                 unset($this->chunkCache[$chunkHash], $this->changedBlocks[$chunkHash][$relativeBlockHash]);
    [1645]             }else{
    [1646]                 if(!isset($this->changedBlocks[$chunkHash])){
    [1647]                     $this->changedBlocks[$chunkHash] = [];
    [1648]                 }
    [1649]
    [1650]                 $this->changedBlocks[$chunkHash][$relativeBlockHash] = $block;
    [1651]             }
    [1652]
    [1653]             foreach($this->getChunkLoaders($pos->x >> 4, $pos->z >> 4) as $loader){
    [1654]                 $loader->onBlockChanged($block);
    [1655]             }
    [1656]
    [1657]             if($update){
    [1658]                 $this->updateAllLight($block);
    [1659]
    [1660]                 $ev = new BlockUpdateEvent($block);
    
    Backtrace:
    
    PocketMine-MP version: 3.8.4 [Protocol 354]
    Git commit: a42f68d3cf368535d205d35d4bf7d1c201fbb3d8
    uname -a: Linux g1 4.5.0-0.bpo.2-amd64 #1 SMP Debian 4.5.4-1~bpo8+1 (2016-05-13) x86_64
    PHP Version: 7.3.5
    Zend version: 3.3.5
    OS : Linux, linux
     
  2. Destroyer57

    Destroyer57 Zombie

    Messages:
    272
    Your ram limit was eaten up wich was set in your pocketmine.yml
     
  3. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @Destroyer57
    ok thanks
    I test
    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: 0
    
     

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.