'Serialize huge array to XML on Heroku?
I have an app created under Symfony and Heroku. There is a worker dyno (with 512M memory_limit) which is here to get all data from a database table and serialize them to XML (for now, it's approximatively 3000 rows).
When I try to serialize, the serialization stops always at the same moment so I have half an XML file of 600Kb instead of one of 21Mb normally, and no ending tags. I have no error log and the process finish well, because I send an email at the end of it and I receive it every time.
Do you have any idea ? I've looked for the memory limit but it seems to be something else.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
