Navigation Menu

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

Out of Memory Issue #3861

Closed
ClaraLeigh opened this issue Mar 23, 2015 · 0 comments
Closed

Out of Memory Issue #3861

ClaraLeigh opened this issue Mar 23, 2015 · 0 comments
Labels

Comments

@ClaraLeigh
Copy link

Hey,

I am having a very odd error that has had me scratching my head for days.
Basically, I installed composer on our server running CENTOS 5.11 x86_64
Composer works perfectly fine, under the root user.
It does not however run under a normal, non-root user or even under a sudoer.

Any possible command I try will return nothing.
Including:

I have also downloaded the composer install file (https://getcomposer.org/installer) and tried to run it by using :
php -dmemory_limit=-1 composer-file
(I have also increased the memory limit in php.ini and inside the composer install file manually to 1G)

Permissions for the global file:
-rwxr-xr-x 1 root root 1074598 Mar 11 16:26 /usr/local/bin/composer

I have also tried making the user I am testing the owner/group and also giving the file 0777 permissions.

If I look in the apache error log, I see the following error message:
[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

Also, 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.

Also, when downloading and running the install file locally, I found that it runs out of memory the line after "return <<<'CACERT'" inside this function:
public static function getPackagedCaFile()

Any help or possible ideas on what could be causing this would me appreciated.

Thank you :)

@Seldaek Seldaek added the Support label Jun 2, 2015
@Seldaek Seldaek closed this as completed Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants