This topic contains 2 replies, has 2 voices, and was last updated by celgard 7 years, 8 months ago.
- Topic
Hello,
I’m not able to use composer update command in orocommerce projet :
I recently installed a fresh orocommerce on a local VM, the installation ran fine from begining to end (congrats for the install process guys ;)).
I made some research around supported caching features and saw here that it was possible for OroCRM to plug a redis server. I imagin that it’s a common mecanism for all oro platform based solutions and tried to follow the process described in previous link.So I added the appropriate require lines in composer.json
From :1234"require": {"php": ">=5.5.9","oro/commerce": "1.0.0-beta.3"}To :
123456"require": {"php": ">=5.5.9","oro/commerce": "1.0.0-beta.3","snc/redis-bundle": "1.1.*","predis/predis": "0.8.7"}and then ran
1$>composer updatein my orocommerce-application folder
and composer crashed by consuming all memory.. I have PHP memory_limit (set to “-1”), I raised my V.M. to 2Go and then to 4Go and each time composer script is consuming all of it and crash (it takes maybe 1 or 2mn but always crash in the end).I removed the two lines I just added in composer.json and tried to launch again “composer update” with the nativ composer.json file but it did not change anything. I also made a composer clear-cache and then re-run composer update but it’s always the same :
[ErrorException] proc_open(): fork failed – Cannot allocate memory
Everything I found on internet speak about raising memory_limit to 1Go or upgrading to PHP to 5.4 at least but I’m already under PHP 5.6.24 and only limited by my 4Go allocated to the VM. I also tried to run composer self-update but I’m apparently already using the last stable version.
1$>composer install --prefer-distis running fine by the way :).
Any idea ?
—
Clément Elgard
http://www.datasolution.fr
The forum ‘OroCommerce’ is closed to new topics and replies.