Skip to content

Redis pipeline memory leak? #2376

Closed
Closed
@TrystanLea

Description

Hello, Im using the following code to load in input data in our application (https://github.com/emoncms/emoncms/)

    $pipe = $this->redis->multi(Redis::PIPELINE);
    foreach ($inputids as $id) {
        $pipe->hGetAll("input:$id");
    }
    $result = $pipe->exec();

This seems to give me a memory leak with the latest version of phpredis develop branch and php 8.1.23 (raspberrypi os 32-bit, may 3rd debian 11 bullseye, kernel 6.1.21-v8+.

The issue remains with hMGet but is not present with hGet with a single key.

This has been working fine for years without the memory issue and seems to have only become apparent this year, first reported issue around April 2023

Let me know if there is any other information that I can provide to assist in any way.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions