The system crashes as it's trying to parse large amounts of data.

2 things jump out to me as a solution to this.

First, batch API. This seems like a first step, and a no brainer. When doing any kind of large operation batch API should be implemented.

Secondly, there must already be some kind of CSV php library or drupal module that we could integrate into this. I think this is definitely the direction to head in.

...both of these things would likely be implemented in the module citcon_csv

Comments

ian clysdale’s picture

The supporter views integration code brings in views data export to do CSV export; it's in the proposed fix for issue 1859302 .

langworthy’s picture

Using Batch API will probably mean we can get rid of the drupal_set_time_limit() calls.

sebsebseb123’s picture

+1 for dropping drupal_set_time_limit()

:)

sebsebseb123’s picture

Status: Active » Closed (duplicate)