When trying to install the sample data via this command
php bin/magento sampledata:deploy got an error
The following exception is caused by a lack of memory and not having swap configured.
Can you please help for the same?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Your server has a lack of memory (and not having swap configured) to work with composer.
Plese follow instruction How to add swap to resolve issue