everything is visible on my server composer.json code example
Example 1: composer memory limit
php -d memory_limit=512M /usr/local/bin/composer update
Example 2: composer check package version
composer show package/name
php -d memory_limit=512M /usr/local/bin/composer update
composer show package/name