[Vtigercrm-developers] Time Interval workflow exhausts memory

Rubén A. Estrada Orozco rulotec1 at gmail.com
Thu Feb 4 23:38:09 GMT 2021


Hi,

I have a time interval workflow set to run every day at a specific time for
the accounts module. The related action is to just update a field.

The accounts module currently has 33k records, which is not huge IMHO.

When running the vtigercron.php script, I get a memory exhausted error:

[CRON],"1612409402.1677",https://my_vtiger_instance.com/,Instance,"2021-02-03
21:30:02","",[STARTS]
[CRON],"1612409402.1677",https://my_vtiger_instance/,Workflow,"2021-02-03
21:30:02","",[STARTS]
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried
to allocate 20480 bytes) in /var/www/html/include/database/PearDatabase.php
on line 181

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to
allocate 20480 bytes) in /var/www/html/include/database/PearDatabase.php on
line 181


My memory limit is 512M in config.inc.php

If I disable that workflow I don't get the error. So I'm certain it has to
do with that particular workflow.

So the questions here are:

Is this a general problem with vtiger?
What are the known limitations for this kind of workflow?
Is it ok to increase the memory limit to say 1 GB?
any other tip or hint?

Saludos

Rubén
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210204/d251bb4b/attachment-0001.html>


More information about the vtigercrm-developers mailing list