[root@localhost www]# composer remove fof/drafts
Do not run Composer as root/super user! See https://getcomposer.org/root for details
fof/drafts is not required in your composer.json and has not been removed
Dependency "flarum/core" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "flarum/core" is also a root requirement, but is not explicitly allowed. Ignoring.
Dependency "flarum/core" is also a root requirement, but is not explicitly allowed. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/appnode/appnode-php73/root/usr/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///opt/appnode/appnode-php73/root/usr/bin/composer.phar/src/Composer/DependencyResolver/RuleSetGenerator.php on line 129
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
I don't know what should I do. I had try COMPOSER_MEMORY_LIMIT=-1 composer.phar, but it not useful. And after I executed this command, composer gave instructions to help.