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.
The Global "Highcharts.charts" JS array seems to be still populated with old charts after view ajax refresh adds new chart.
This might be result in a memory leak.
Consider destroying old chrats object on Drupal deattach.
Couldn't find where/if google charts has same issue.
Patch upcoming.
Comment | File | Size | Author |
---|---|---|---|
#2 | old_highcharts_js_object_not_detroyed_on_views_ajax-2942355.patch | 660 bytes | silverham |
Comments
Comment #2
silverham CreditAttribution: silverham at EY Digital commentedPatched attached.
Comment #3
silverham CreditAttribution: silverham at EY Digital commentedComment #4
joseph.olstada very smart improvement, thanks!
Comment #5
joseph.olstadComment #7
andileco CreditAttribution: andileco at JSI Research & Training Institute, Inc. (JSI) commentedThanks for the patch. Moving to 8.x-4.x.
Comment #9
andileco CreditAttribution: andileco at JSI Research & Training Institute, Inc. (JSI) commentedComment #10
joseph.olstadThanks!