{"action":"created","issue":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/3252","repository_url":"https://api.github.com/repos/pimcore/pimcore","labels_url":"https://api.github.com/repos/pimcore/pimcore/issues/3252/labels{/name}","comments_url":"https://api.github.com/repos/pimcore/pimcore/issues/3252/comments","events_url":"https://api.github.com/repos/pimcore/pimcore/issues/3252/events","html_url":"https://github.com/pimcore/pimcore/issues/3252","id":353872925,"node_id":"MDU6SXNzdWUzNTM4NzI5MjU=","number":3252,"title":"Add tips for memory limitation in the update documentation page","user":{"login":"Yivan","id":9025839,"node_id":"MDQ6VXNlcjkwMjU4Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/9025839?v=4","gravatar_id":"","url":"https://api.github.com/users/Yivan","html_url":"https://github.com/Yivan","followers_url":"https://api.github.com/users/Yivan/followers","following_url":"https://api.github.com/users/Yivan/following{/other_user}","gists_url":"https://api.github.com/users/Yivan/gists{/gist_id}","starred_url":"https://api.github.com/users/Yivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yivan/subscriptions","organizations_url":"https://api.github.com/users/Yivan/orgs","repos_url":"https://api.github.com/users/Yivan/repos","events_url":"https://api.github.com/users/Yivan/events{/privacy}","received_events_url":"https://api.github.com/users/Yivan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-24T17:50:30Z","updated_at":"2018-08-24T18:53:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nWe just updated some project to the last 5.4.2 stable, all went ok.\r\n\r\nJust for testing, after the update we have run `composer update`, it sends some memory errors.\r\n\r\n```\r\nPHP Fatal error:  Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52\r\n\r\nFatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52\r\n\r\nCheck https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.\r\n```\r\n\r\nI think you should add as tips the command `COMPOSER_MEMORY_LIMIT=3G composer update` in this page  https://pimcore.com/docs/5.x/Development_Documentation/Installation_and_Upgrade/Updating_Pimcore/index.html to prevent some users having problem.\r\n(in our case we are on docker environment so maybe memory is more restricted).\r\n\r\nUsing `COMPOSER_MEMORY_LIMIT=3G composer update` we have no more memory errors."},"comment":{"url":"https://api.github.com/repos/pimcore/pimcore/issues/comments/415850591","html_url":"https://github.com/pimcore/pimcore/issues/3252#issuecomment-415850591","issue_url":"https://api.github.com/repos/pimcore/pimcore/issues/3252","id":415850591,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTg1MDU5MQ==","user":{"login":"brusch","id":142037,"node_id":"MDQ6VXNlcjE0MjAzNw==","avatar_url":"https://avatars2.githubusercontent.com/u/142037?v=4","gravatar_id":"","url":"https://api.github.com/users/brusch","html_url":"https://github.com/brusch","followers_url":"https://api.github.com/users/brusch/followers","following_url":"https://api.github.com/users/brusch/following{/other_user}","gists_url":"https://api.github.com/users/brusch/gists{/gist_id}","starred_url":"https://api.github.com/users/brusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brusch/subscriptions","organizations_url":"https://api.github.com/users/brusch/orgs","repos_url":"https://api.github.com/users/brusch/repos","events_url":"https://api.github.com/users/brusch/events{/privacy}","received_events_url":"https://api.github.com/users/brusch/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T18:53:55Z","updated_at":"2018-08-24T18:53:55Z","author_association":"MEMBER","body":"The memory limit is ONLY for composer, it has nothing to do with scripts, it's just to resolve the dependencies, as far as we could debug it. "}}
{"actor":{"display_login":"brusch"}}