falkirks / MineReset

Powerful mine resetting tool
MIT License
43 stars 42 forks source link

Server crash when resetting mines:- #93

Closed nasiridrishi closed 6 years ago

nasiridrishi commented 6 years ago
Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 581632 bytes)
File: MineReset_v3.phar/src/falkirks/minereset/task/ResetTask
Line: 30
Type: E_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: MineReset v3

Code:
[21]     /** @var string $ratioData */
[22]     private $ratioData;
[23]     /** @var int $levelId */
[24]     private $levelId;
[25]     /** @var Chunk $chunkClass */
[26]     private $chunkClass;
[27] 
[28]     public function __construct(string $name, array $chunks, Vector3 $a, Vector3 $b, array $data, $levelId, $chunkClass){
[29]         $this->name = $name;
[30]         $this->chunks = serialize($chunks);
[31]         $this->a = $a;
[32]         $this->b = $b;
[33]         $this->ratioData = serialize($data);
[34]         $this->levelId = $levelId;
[35]         $this->chunkClass = $chunkClass;
[36]     }
[37]     /**
[38]      * Actions to execute when run
[39]      *
[40]      * @return void

Backtrace:

PocketMine-MP version: 1.7dev #516 [Protocol 160; API 3.0.0-ALPHA10]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux ns533426 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64
PHP Version: 7.2.0
Zend version: 3.2.0
OS : Linux, linux
falkirks commented 6 years ago

Perhaps your mine is too large. Does this always happen when you reset a mine? Does it happen with all sizes of mine?

nasiridrishi commented 6 years ago

I use /mine reset-all and there are about 30 mines..

falkirks commented 6 years ago

But it doesn't crash when running /mine reset on individual mines?

nasiridrishi commented 6 years ago

No!