Skip to content

More and more memory, there seems to be a leak #153

@lizhichao

Description

@lizhichao
# php -v
PHP 7.4.8 (cli) (built: Jul 23 2020 11:20:55) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

# php --ri msgpack

msgpack

MessagePack Support => enabled
Session Support => enabled
extension Version => 2.1.0
header Version => 3.2.0

Directive => Local Value => Master Value
msgpack.error_display => On => On
msgpack.php_only => On => On
msgpack.illegal_key_insert => Off => Off
msgpack.use_str8_serialization => On => On
while (true){
    $a = [
        'a' => uniqid('',true),
    ];

    msgpack_unpack(msgpack_pack($a));


    echo memory_get_usage().PHP_EOL;

    usleep(10000);
}

Metadata

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