Search code examples
phpcomposer-phpcommand-line-interfacememory-limit

CLI free memory for composer


Is there a shell command to find out how much memory composer can use at the cli SAPI? Not the CGI one which can be found by performing a phpinfo();

I would like to know the memory limit my hoster has.


Solution

  • On the command line:

    php -i | grep memory_limit
    

    Read about memory limit errors here.