ethaniccc / Mockingbird

PocketMine-MP anticheat in development made for fun by @ethaniccc.
GNU General Public License v3.0
62 stars 15 forks source link

Memory leaked with Mockingbird in PHP7.4 & 8.0 #116

Open Blackjack200 opened 3 years ago

Blackjack200 commented 3 years ago

Enviroment

PHP 7.4.13: https://jenkins.pmmp.io/job/PHP-7.4-Aggregate/12/ PHP 8.0.3RC1: https://jenkins.pmmp.io/job/PHP-8.0-Aggregate/4/ System: Ubuntu 18.06 Arch: amd64

Reproduce

  1. Start server with latest Mockingbird and PHP7.4 | 8.0
  2. Wait for a day while players play the server.
  3. compare memory usuage with before

Expected

all useless memory needs be collected

PMMP

fbb6f1f

Mockingbird

19742e69c1a9783532a0b48dacc9d294788ab92f

callumrawlinson commented 3 years ago

Hello! @Blackjack200 Which version of Mockingbird are you using?

mmm545 commented 3 years ago

look at the commit hash

callumrawlinson commented 3 years ago

i see! Are you using any other plugins>

Blackjack200 commented 3 years ago

i see! Are you using any other plugins>

yes but memory doesn't leak with my plugin