Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak issue? #19

Open
shawn-digitalpoint opened this issue Jul 8, 2022 · 0 comments
Open

Memory leak issue? #19

shawn-digitalpoint opened this issue Jul 8, 2022 · 0 comments

Comments

@shawn-digitalpoint
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant