{"action":"opened","issue":{"url":"https://api.github.com/repos/composer/composer/issues/5847","repository_url":"https://api.github.com/repos/composer/composer","labels_url":"https://api.github.com/repos/composer/composer/issues/5847/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/5847/comments","events_url":"https://api.github.com/repos/composer/composer/issues/5847/events","html_url":"https://github.com/composer/composer/issues/5847","id":187269269,"number":5847,"title":" Allowed memory size of 6442450944 bytes exhausted (tried to allocate 4096 bytes) in src/Composer/DependencyResolver/Solver.php","user":{"login":"maximus-dv10","id":1889771,"avatar_url":"https://avatars.githubusercontent.com/u/1889771?v=3","gravatar_id":"","url":"https://api.github.com/users/maximus-dv10","html_url":"https://github.com/maximus-dv10","followers_url":"https://api.github.com/users/maximus-dv10/followers","following_url":"https://api.github.com/users/maximus-dv10/following{/other_user}","gists_url":"https://api.github.com/users/maximus-dv10/gists{/gist_id}","starred_url":"https://api.github.com/users/maximus-dv10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximus-dv10/subscriptions","organizations_url":"https://api.github.com/users/maximus-dv10/orgs","repos_url":"https://api.github.com/users/maximus-dv10/repos","events_url":"https://api.github.com/users/maximus-dv10/events{/privacy}","received_events_url":"https://api.github.com/users/maximus-dv10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T07:27:22Z","updated_at":"2016-11-04T07:27:22Z","closed_at":null,"body":"PHP 7.0.12 (cli) (built: Oct 13 2016 10:47:49) ( ZTS )\r\n\r\nComposer - 1.2.2\r\n\r\nmemory_limit = 6G\r\n\r\nMy `composer.json`:\r\n\r\n```json\r\n{\r\n  ....\r\n \r\n  \"minimum-stability\": \"stable\",\r\n  \"require\": {\r\n    \"2amigos/yii2-ckeditor-widget\": \"0.1.1\",\r\n    \"bariew/phpquery\": \"1.0.3\",\r\n    \"bedezign/yii2-audit\": \"1.0.3\",\r\n    \"bower-asset/amcharts\": \"3.15.0\",\r\n    \"bower-asset/angular-bootstrap\": \"1.3.2\",\r\n    \"bower-asset/angular-elastic\": \"^2.5\",\r\n    \"bower-asset/angular-flexslider\": \"^1.3\",\r\n    \"bower-asset/angular-strap\": \"2.3.6\",\r\n    \"bower-asset/angular-timeago\": \"^0.2.5\",\r\n    \"bower-asset/angular-ui-select\": \"0.17.1\",\r\n    \"bower-asset/animate.css\": \"3.3.0\",\r\n    \"bower-asset/leaflet.markercluster\": \"0.4.0\",\r\n    \"bower-asset/mustache\": \"2.1.2\",\r\n    \"bower-asset/ng-file-upload\": \"12.0.4\",\r\n\t  \"bower-asset/vis\" : \"^4.15\",\r\n    \"creocoder/yii2-nested-sets\": \"0.9.*\",\r\n   \"fxp/composer-asset-plugin\" : \"1.2.2\",\r\n    \"filsh/yii2-oauth2-server\": \"2.0.1\",\r\n    \"insolita/yii2-migration-generator\": \"~2.2\",\r\n    \"kartik-v/yii2-dynagrid\": \"~1.4.4\",\r\n    \"kartik-v/yii2-money\": \"1.2.0\",\r\n    \"kartik-v/yii2-mpdf\": \"dev-master\",\r\n    \"kartik-v/yii2-tree-manager\": \"~1.0.5\",\r\n    \"kartik-v/yii2-widgets\": \"2.9.0\",\r\n    \"kbsali/redmine-api\": \"1.5.4\",\r\n\t  \"mikehaertl/php-pdftk\" : \"0.2.2\",\r\n    \"omnilight/yii2-scheduling\": \"1.0.6\",\r\n    \"php\": \">=5.4.0\",\r\n    \"phpoffice/phpexcel\": \"1.8.0\",\r\n    \"querypath/QueryPath\": \"*\",\r\n    \"rmrevin/yii2-favicon-widget\": \"1.1.*\",\r\n    \"schmunk42/yii2-giiant\": \"*\",\r\n    \"symfony/process\": \"2.6.9\",\r\n    \"tesjin/yii2-angularjs\": \"1.2.16\",\r\n    \"willdurand/geocoder\": \"~3.0\",\r\n    \"yiisoft/yii2\": \">=2.0.6\",\r\n    \"yiisoft/yii2-authclient\": \"^2.0\",\r\n    \"yiisoft/yii2-bootstrap\": \"*\",\r\n    \"yiisoft/yii2-swiftmailer\": \"*\",\r\n    \"skeeks/yii2-assets-auto-compress\": \"1.2.2\"\r\n  },\r\n  \"require-dev\": {\r\n\r\n    \"yiisoft/yii2-debug\": \"*\",\r\n    \"yiisoft/yii2-gii\": \"*\",\r\n    \"yiisoft/yii2-faker\": \"*\"\r\n  },\r\n  \"config\": {\r\n    \"process-timeout\": 1800\r\n  },\r\n  \"extra\": {\r\n    \"asset-installer-paths\": {\r\n      \"npm-asset-library\": \"vendor/npm\",\r\n      \"bower-asset-library\": \"vendor/bower\"\r\n    }\r\n  },\r\n  \"scripts\": {\r\n\r\n  }\r\n}\r\n\r\n```\r\n\r\nOutput of `composer diagnose`:\r\n\r\n```\r\nChecking composer.json: WARNING\r\nrequire.bariew/phpquery : exact version constraints (1.0.3) should be avoided if the package follows semantic versioning\r\nrequire.bedezign/yii2-audit : exact version constraints (1.0.3) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/amcharts : exact version constraints (3.15.0) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/angular-bootstrap : exact version constraints (1.3.2) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/angular-strap : exact version constraints (2.3.6) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/animate.css : exact version constraints (3.3.0) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/mustache : exact version constraints (2.1.2) should be avoided if the package follows semantic versioning\r\nrequire.bower-asset/ng-file-upload : exact version constraints (12.0.4) should be avoided if the package follows semantic versioning\r\nrequire.fxp/composer-asset-plugin : exact version constraints (1.2.2) should be avoided if the package follows semantic versioning\r\nrequire.filsh/yii2-oauth2-server : exact version constraints (2.0.1) should be avoided if the package follows semantic versioning\r\nrequire.kartik-v/yii2-money : exact version constraints (1.2.0) should be avoided if the package follows semantic versioning\r\nrequire.kartik-v/yii2-mpdf : unbound version constraints (dev-master) should be avoided\r\nrequire.kartik-v/yii2-widgets : exact version constraints (2.9.0) should be avoided if the package follows semantic versioning\r\nrequire.kbsali/redmine-api : exact version constraints (1.5.4) should be avoided if the package follows semantic versioning\r\nrequire.omnilight/yii2-scheduling : exact version constraints (1.0.6) should be avoided if the package follows semantic versioning\r\nrequire.phpoffice/phpexcel : exact version constraints (1.8.0) should be avoided if the package follows semantic versioning\r\nrequire.querypath/QueryPath : unbound version constraints (*) should be avoided\r\nrequire.schmunk42/yii2-giiant : unbound version constraints (*) should be avoided\r\nrequire.symfony/process : exact version constraints (2.6.9) should be avoided if the package follows semantic versioning\r\nrequire.tesjin/yii2-angularjs : exact version constraints (1.2.16) should be avoided if the package follows semantic versioning\r\nrequire.yiisoft/yii2 : unbound version constraints (>=2.0.6) should be avoided\r\nrequire.yiisoft/yii2-bootstrap : unbound version constraints (*) should be avoided\r\nrequire.yiisoft/yii2-swiftmailer : unbound version constraints (*) should be avoided\r\nrequire.skeeks/yii2-assets-auto-compress : exact version constraints (1.2.2) should be avoided if the package follows semantic versioning\r\nChecking platform settings: OK\r\nChecking git settings: OK\r\nChecking http connectivity to packagist: OK\r\nChecking https connectivity to packagist: OK\r\nChecking github.com oauth access: OK\r\nChecking disk free space: OK\r\nChecking pubkeys:\r\nTags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642\r\nDev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952\r\nOK\r\nChecking composer version: OK\r\n\r\n```\r\n\r\nWhen I run this command:\r\n\r\n```\r\nphp composer.phar update\r\nor\r\nphp composer.phar require --prefer-dist skeeks/yii2-assets-auto-compress \"1.2.2\"\r\n```\r\n\r\nI get the following output:\r\n\r\n```\r\nPHP Fatal error:  Allowed memory size of 6442450944 bytes exhausted (tried to allocate 4096 bytes) in phar://composer.phar/src/Composer/DependencyResolver/Solver.php on line 220\r\n\r\nFatal error: Allowed memory size of 6442450944 bytes exhausted (tried to allocate 4096 bytes) in phar://composer.phar/src/Composer/DependencyResolver/Solver.php on line 220\r\n```\r\n\r\nInstallation goes almost well (some packages were not installed).  "}}
{"actor":{"display_login":"maximus-dv10"}}