I got some annoying crashes when users try to use the forest’s export action.
After investigations, crashes are caused by exceeding memory usage limit on server. (1.4Gb)
I monitored the memory usage of the node process, I observed that the memory usage skyrocket for no apparent reasons.
I have 8800 records, I commented out all smart fields, all relations, chose only the id column.
The memory usage go from 30MB to 500MB !
My whole table is 8.5MB
We have issued an update to the forest-express-sequelize package to improve memory management during exports. It may help with your use case.
Please upgrade to the latest version of the package and let us know if you notice the improvement.
Thanks,
Sorry I didn’t reply, I was busy on other tasks.
Got feedback from my teammates that the improvement was huge and exports are much faster now.
I’ll check the memory usage soon, but we can feel it’s much better now.