Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Memory usage becomes huge when we use book node reference in an node add / edit page and add large number of book references (say 60) using add another feature of field collection.
We can optimize the memory usage in that case by not using book_get_books()
which uses a static caching and load large number of fields. All of these fields are not necessary when called from function _book_add_form_elements()
.
Comments
Comment #2
suman.abc CreditAttribution: suman.abc commentedComment #3
roynilanjan CreditAttribution: roynilanjan commentedComment #5
suman.abc CreditAttribution: suman.abc commentedComment #7
suman.abc CreditAttribution: suman.abc commentedPatch updated according to the current dev version.
Comment #8
suman.abc CreditAttribution: suman.abc commented