Amasty Order export indexers get stuck. What do I do?

Amasty Order export indexers get stuck. What do I do?

The Amasty: Order Export indexers may get stuck in the processing status due to the big size of the exported entities and the size of the allocated memory for the PHP interpreter:


To resolve the issue, execute the following commands from the root Magento directory. This will reset and update the indexers with sufficient memory resources:
php bin/magento indexer:reset amasty_order_export_attribute_index
php -dmemory_limit=-1 bin/magento indexer:reindex amasty_order_export_attribute_index