You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a suggestion, you might want to include a section on bulk inserts and managing imports of large heirarchies with the Nested Set manager extension.
I just struggled with speed and page loads until I eventually found the $nsm->reset() method.
Just a suggestion, you might want to include a section on bulk inserts and managing imports of large heirarchies with the Nested Set manager extension.
I just struggled with speed and page loads until I eventually found the $nsm->reset() method.
Eventually got a nice memory graph like http://chrisacky.com/images/phpGC.jpg which would import 4000 items in 50 seconds.
When I was stuck on something like this http://chrisacky.com/images/memoryLeakDoctrine.jpg which would take around 8 minutes for 1000 items importing.
Adding $nsm->reset() in addition to $em->clear() helped alleave this.
The text was updated successfully, but these errors were encountered: