Memory leak on 1.10.20 DataTable with hidden columns

Memory leak on 1.10.20 DataTable with hidden columns

mscommsmscomms Posts: 2Questions: 1Answers: 0

Hi There i have a 1.10.20 DataTable running in a Splunk dashboard which runs fine until I hide one or more of the columns using column(n).visible(false), as soon as I do this the dashboard starts leaking memory on every refresh. Is there some newbie mistake I am likely to be making.

Sorry I can't share the dashboard as it is safely hidden in a secure network

This implementation was built using the hurricane labs tutorial here https://hurricanelabs.com/splunk-tutorials/integrating-jquery-datatables-into-splunk-tutorial-part-1/

Thanks in advance

Mike

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • mscommsmscomms Posts: 2Questions: 1Answers: 0

    Hi Colin, I am having real issues duplicating this outside a Splunk environment, some further digging with DevTools it looks like the dom elements are being detached on refresh. I will see if I can sort something

This discussion has been closed.