I used composer to install pimcore. Right now I am attempting to add routing for a new theme I'm using, but I reach a routing error. Based on symfony's documentation I realized I need to run composer require annotations
but I get hit with this error:
[InvalidArgumentException]
Could not find package annotations.
Did you mean one of these?
minime/annotations
zeptech/annotations
ray/di
jms/metadata
jms/aop-bundle
after some looking around, I see that I first need to run composer require sensio/framework-extra-bundle
. However, when I run it, after some time, I get hit with
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 2929729536) (tried to allocate 4096 bytes) in
phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
Fatal error: Out of memory (allocated 2929729536) (tried to allocate 4096 bytes) in
phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
I'm realizing this is a memory issue, there are currently 3GB of memory on the server (running via DigitalOcean). What are my options? Running Ubuntu 16.04 btw.
I should add that my memory limit in php.ini is set to -1.