You can also try to disable the memory limit for a particular Composer command.
Example:
php -d memory_limit=-1 composer.phar require --prefer-source mage2pro/stripe:*
You can also try to disable the memory limit for a particular Composer command.
php -d memory_limit=-1 composer.phar require --prefer-source mage2pro/stripe:*