diff options
Diffstat (limited to 'tests/memleak.php')
-rw-r--r-- | tests/memleak.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/memleak.php b/tests/memleak.php deleted file mode 100644 index 96ed5006..00000000 --- a/tests/memleak.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php - -declare(strict_types=1); - -use Spiral\Goridge\StreamRelay; -use Spiral\RoadRunner\Worker as RoadRunner; - -require __DIR__ . "/vendor/autoload.php"; - -$rr = new RoadRunner(new StreamRelay(\STDIN, \STDOUT)); -$mem = ''; -while($rr->waitPayload()){ - $mem .= str_repeat("a", 1024*1024*10); - $rr->respond(new \Spiral\RoadRunner\Payload("")); -} |