{"action":"opened","issue":{"url":"https://api.github.com/repos/composer/composer/issues/3861","labels_url":"https://api.github.com/repos/composer/composer/issues/3861/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/3861/comments","events_url":"https://api.github.com/repos/composer/composer/issues/3861/events","html_url":"https://github.com/composer/composer/issues/3861","id":63618089,"number":3861,"title":"Out of Memory Issue","user":{"login":"JeramyMywork","id":2524209,"avatar_url":"https://avatars.githubusercontent.com/u/2524209?v=3","gravatar_id":"","url":"https://api.github.com/users/JeramyMywork","html_url":"https://github.com/JeramyMywork","followers_url":"https://api.github.com/users/JeramyMywork/followers","following_url":"https://api.github.com/users/JeramyMywork/following{/other_user}","gists_url":"https://api.github.com/users/JeramyMywork/gists{/gist_id}","starred_url":"https://api.github.com/users/JeramyMywork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeramyMywork/subscriptions","organizations_url":"https://api.github.com/users/JeramyMywork/orgs","repos_url":"https://api.github.com/users/JeramyMywork/repos","events_url":"https://api.github.com/users/JeramyMywork/events{/privacy}","received_events_url":"https://api.github.com/users/JeramyMywork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-23T04:02:34Z","updated_at":"2015-03-23T04:02:34Z","closed_at":null,"body":"Hey,\r\n\r\nI am having a very odd error that has had me scratching my head for days.\r\nBasically, I installed composer on our server running CENTOS 5.11 x86_64\r\nComposer works perfectly fine, under the root user.\r\nIt does not however run under a normal, non-root user or even under a sudoer.\r\n\r\nAny possible command I try will return nothing.\r\nIncluding:\r\n - composer (remembering that its installed globally and working for root)\r\n - curl -sS https://getcomposer.org/installer | php\r\n - php -r \"readfile('https://getcomposer.org/installer');\" | php\r\n - curl -sS https://getcomposer.org/installer | php -- --check\r\n\r\nI have also downloaded the composer install file (https://getcomposer.org/installer) and tried to run it by using :  \r\nphp -dmemory_limit=-1 composer-file\r\n(I have also increased the memory limit in php.ini and inside the composer install file manually to 1G)\r\n\r\nPermissions for the global file:\r\n-rwxr-xr-x 1 root root 1074598 Mar 11 16:26 /usr/local/bin/composer\r\n\r\nI have also tried making the user I am testing the owner/group and also giving the file 0777 permissions.\r\n\r\nIf I look in the apache error log, I see the following error message:\r\n[23-Mar-2015 12:10:42 Australia/Brisbane] PHP Fatal error:  Out of memory (allocated 262144) (tried to allocate 1074630 bytes) in Unknown on line 0\r\n\r\nAlso, when trying to run the command using sudo (eg: sudo composer), I get a 500 internal server error appear in the console when normally nothing appears when running a command.\r\n\r\nAlso, when downloading and running the install file locally, I found that it runs out of memory the line after \"return <<<'CACERT'\" inside this function:\r\npublic static function getPackagedCaFile()\r\n\r\nAny help or possible ideas on what could be causing this would me appreciated.\r\n\r\nThank you :)\r\n\r\n"}}