[iting@server temp]$ composer create-project flarum/flarum . --stability=beta
Installing flarum/flarum (v0.1.0-beta.8.1)
- Installing flarum/flarum (v0.1.0-beta.8.1): Loading from cache
Created project in .
Loading composer repositories with package information
Updating dependencies (including require-dev)
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
Fatal error: Out of memory (allocated 336596992) (tried to allocate 2097160 bytes) in phar:///opt/cpanel/composer/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 84
VPS KVM:
php 7.1
MySQL 5.7
apache
How to solve memory errors