Skip to content

Memory leak issue? #19

Description

@shawn-digitalpoint

When updating MadelineProto via composer, it runs out of memory when transpiling (for PHP 7.4).

PHP transpiler - Write and deploy modern PHP 8 code, today: https://phabel.io

Transpilation in progress... 100% (3868/3868)
Applying covariance and contravariance transforms... 3% ( 96/2470)
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 20480 bytes) in /home/sites/test/web/src/addons/Messaging/vendor/phabel/phabel/vendor-bundle/phabel/php-parser/lib/PhpParser/Parser/Php5.php on line 921

Tried overriding Composer to use 2GB and got farther, but didn't complete. 4GB still wasn't enough. Ended up giving Composer 10GB to work around it and get through the update process.

Activity

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

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