Keywords: Magento - Virtual Machines - Technical issue - Email configuration (SMTP)
I am trying to install the SMTP service in my Bitnami Magento 2.4.2 virtual environment running on VirtualBox. I have allocated 4GB RAM and 2 Cores of CPU to this VM. I have no issue running the Magento instance.
When I tried to deploy the Magepal Extension to enable SMTP service following this guide - https://docs.bitnami.com/virtual-machine/apps/magento/configuration/install-extension-smtp/
During the update of dependencies, it is giving an error -
mmap () failed:  Cannot allocate memory map () failed:  Cannot allocate memory PHP Fatal error: Out of memory (allocated 2063605760) (tried to allocate 4096 bytes) in phar:///opt/bitnami/php/bin/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
After it displays errors, it comes back to the prompt again.
Can anyone please guide me to the correct direction to resolve this?