Not able to send campaign through mautic

Your problem
My problem is:

I am able to send test mail but while scheduling the campaign mails are not going out

These errors are showing in the log:

Steps I have tried to fix the problem:

/opt/rh/rh-php72/root/usr/bin/php -q /home/mautic7/public_html/bin/console mautic:campaigns:trigger -i 4

when you run it you get out of memory error

Triggering events for campaign 4
Triggering events for newly added contacts
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering scheduled events
5210 total events(s) to be processed in batches of 100 contacts
1700/5210 [=========>------------------] 32%PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/mautic7/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php on line 51

In ArrayType.php line 51:

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)

Hi, as a first step I think you should set higher memory usage in your php.ini.
regards:
Joey

HI joey ,

thanks for your prompt response I already allocated memory limit to 10240M and Screenshot 2020-11-06 at 2.50.20 PM

Hi, I think 10 GIG for a single php process is rather large. Read this:

I’m running my campaigns with 256-512 and it’s all good.
Good luck!