<div dir="ltr">@Ruben, also increase memory limit if you are exporting in CSV format.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 22, 2021 at 11:46 AM nilay khatri <<a href="mailto:nilay.spartan@gmail.com">nilay.spartan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">One more thing, the CSV output generation is not optimized, you can not store the entire resultset into an array and then pipe to a CSV file.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 22, 2021 at 11:43 AM nilay khatri <<a href="mailto:nilay.spartan@gmail.com" target="_blank">nilay.spartan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Uma, for this you really need to test Vtiger with a large data set where scalability becomes an issue. There are many issues similar to this, which can not be addressed with the current architecture of Vtiger. I am eager to hear that I am wrong.<div><br></div><div>- Mass edits</div><div>- Report export</div><div>- Export from List</div><div>- Imports</div><div><br></div><div>When you work with a large data set, there is no foolproof/predictable way to scale. </div><div><br></div><div>For example, this given case of report export. Suppose we had put conditions which involve full scan and is a non-admin with sharing rules etc, the query becomes really complex and can easily go for more than 5-10 minutes (even for small data sets, let us say 30-40K records as well). </div><div><br></div><div>Generally php time limits are set to less than 1 min. But anyways you can predefine what could be the time required to execute the various queries. So you might have to leave the configuration on the higher side, which would be a workaround but would again fail if something needs even more resources/time. And it is not good to leave 1 GB memory and 30 min of execution time limit :)</div><div><br></div><div>Another challenge is that if you put your CRM behind a OSI layer 3 firewall / filtering, these normally have very short TTFB limits, usually < 100 sec. Which again terminates the request and can lead to the above situation.</div><div><br></div><div>That's the same case where there are no event triggers for mass edits. As a workaround Vtiger decided to introduce bulk mode to simply skip events and limit the record selection to 500! Though there is a concept of batch event, but never implemented.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 22, 2021 at 11:08 AM Uma S <<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Ruben,<br><div><br></div><div>I validated this case of Export CSV in Reports, which works perfectly fine.</div><div><br></div><div>Can you please be more precise on the case scenario, Did you notice any errors logs and what is the size of your report? I mean the number of records?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 22, 2021 at 8:25 AM Rubén A. Estrada Orozco <<a href="mailto:rulotec1@gmail.com" target="_blank">rulotec1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm having and issue where downloading any report in CSV format gives this error:<div><br></div><div><img src="cid:ii_krebi1160" alt="image.png" width="287" height="74"><br></div><div><br></div><div>It doesn't happen when using Excel format.</div><div><br></div><div>It happened in vtiger 7.0.1 and still happens after upgrading to 7.4</div><div><br></div><div>Any ideas?</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div></div></div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>
</blockquote></div>
</blockquote></div>