Help, I' m leaking PHP memory!

While trying to find out why DraggableViews consumed a lot of memory and finally returned a WSOD in a View returning over 10 nodes, I found this brilliant presentation in slideshare and thought of sharing!

By the way, Draggable Views used node_save() for each view result. Using node_save() in one single request for 64 nodes in a site where Search API reindexes multilingually each node is sure to take a lot of memory! I had to hack the code - since there was no proper way to override the saving call - and use Batch API instead to save the nodes.

Comments

Popular Posts