Hi All,
Am Trying to set up venia in my AWS t2.micro Instance ,while trying to do a sample data setup getting following error.
bash deployVeniaSampleData.sh
1. Mem issue
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 545267712) (tried to allocate 147456 bytes) in /usr/share/php/Composer/DependencyResolver/RuleSetGenerator.php on line 193
Fatal error: Out of memory (allocated 545267712) (tried to allocate 147456 bytes) in /usr/share/php/Composer/DependencyResolver/RuleSetGenerator.php on line 193
2. I have already tried to set php.ini memory limit = -1 , but still no luck
max_execution_time = 3600
max_input_time = 3600
memory_limit = -1
3. https://magento-research.github.io/pwa-studio/venia-pwa-concept/install-sample-data/
as i dont have access to GIT, followed the instructions given in above link to update file "deployVeniaSampleData.sh"
error as follow
In RemoteFilesystem.php line 515:
The "https://api.github.com/repos/PMET-public/module-catalog-sample-data-venia" file could not be downloaded: php_network_getaddres
ses: getaddrinfo failed: Temporary failure in name resolution
failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>].
The "http://packagist.org/p/symfony/expression-language%24833b6414bf2a1a9c18324b41578981db91318a661f9da6d..." file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
after above comment , it just got hung for more than 10 mins.
Please advice , thanks.