# Not able to send campaign through mautic

**URL:** <https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891>\
**Category:** Product Support\
**Tags:** community, discussion\
**Created:** [November 6, 2020, 8:08am UTC](https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891 "2020-11-06T08:08:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adadad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adadad/32/2356_2.png) [@adadad](https://forum.mautic.org/u/adadad)\
**Post date:** [November 6, 2020, 8:08am UTC](https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891/1 "2020-11-06T08:08:25Z")

</div>

**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)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 6, 2020, 9:16am UTC](https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891/2 "2020-11-06T09:16:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![adadad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/adadad/32/2356_2.png) [@adadad](https://forum.mautic.org/u/adadad)\
**Post date:** [November 6, 2020, 9:21am UTC](https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891/3 "2020-11-06T09:21:53Z")

</div>

HI joey ,

thanks for your prompt response I already allocated memory limit to 10240M and ![Screenshot 2020-11-06 at 2.50.20 PM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0086f9ebd1c9014f46c5f4ca288bb77ea18ceaeb.png)

 ![image_2020_11_06T09_22_38_054Z](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/c/ce1e2456ad1bda5e94dd61a7dbb1e295fbee0ea0.png)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [November 6, 2020, 12:39pm UTC](https://forum.mautic.org/t/not-able-to-send-campaign-through-mautic/16891/4 "2020-11-06T12:39:50Z")

</div>

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

> <https://stackoverflow.com/questions/9276212/php-settings-memory-limits-1024m-does-not-work>

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