Server Crash Allowed memory size error #4293

Open
brentb2529 opened this Issue Sep 30, 2016 · 4 comments

Projects

None yet

4 participants

@brentb2529

Issue description

Server Crash while running with 0 users actively connected.

Steps to reproduce the issue

Server running for about 72 hours under very low usage load.

OS and versions

PocketMine-MP version: 1.6dev #0 [Protocol 83; API 2.0.0]
PHP Version: 7.0.3
OS : Linux, linux

Crashdump, backtrace or other files

Error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 131072 bytes)
File: /src/pocketmine/nbt/NBT
Line: 499
Type: E_ERROR

Code:
[490] }
[491] return $this->buffer;
[492] }
[493]
[494] return false;
[495] }
[496]
[497] public function writeCompressed($compression = ZLIB_ENCODING_GZIP, $level = 7){
[498] if(($write = $this->write()) !== false){
[499] return zlib_encode($write, $compression, $level);
[500] }
[501]
[502] return false;
[503] }
[504]
[505] public function readTag(){
[506] switch($this->getByte()){
[507] case NBT::TAG_Byte:
[508] $tag = new ByteTag($this->getString());
[509] $tag->read($this);

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

===BEGIN CRASH DUMP===
eNrNWWtv4zYW/StcZ4AmC8ux/IxVpECapt0B5pGdZFBgmyKgJcrWRhJVkYrjKfrf99xLSlYy6X7Y
3Q87HUxN8vK+eO6D1O8DmxVqEIWz5Xwym64ms+FA1bWuB9HvA7uvsDS4ur/69Onjp8FwUChj5Ibm
LvJc71QiClXoei9M9kUJnYpwvJwuZ+HZZCbWe6uMUE9b2RgLymNbZ/if1UJibyytEuEU9BNHeQL2
aZYT71NTx6eVjh+ULbJSnZZre/rh+1sQ5BgOotlq9cdwUOXNJisHUSpzo4aDWCeKdJ6txmBxZ+m/
P7Bltgq7ca1sU5fijd1mJvhu3aSpqr9lmomncTumGPGPmZ/2G1mU2zDnFUe+aMmXPFk16zyLRdqU
sc10KXZ1ZtWlLqoa3lPJ8ZvY/6bFc/GPd2+/v7/6cPnxh7cffrr/6R9vr4fiTa4eVY7F5cnvzPnM
K5Klx8dvmCEWvR08PD45EX85P3cq+k2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o9YMqUUr6Lv9ZyQeEPZ/0lKn2kj+q8KfIT5dL
OvmsYv+GU+dg0jPrePzxx78AuPQqWA==
===END CRASH DUMP===

@iPocket
iPocket commented Sep 30, 2016

Duplicate.

@ChaostixZix

I had the same problem

@brentb2529

ChaostixZix, did you resolve it?

Thanks.

@PrimusLV
PrimusLV commented Oct 2, 2016

You have to give server a rest. Just restart the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment