Forum Discussion

abhishek's avatar
abhishek
Channel Surfer
8 years ago

Memory Leak Tool

Is there any tool available to find out the memory leaks in the Roku Scene Graph application?

3 Replies

  • I would think that since screens are created and closed, there would be little to no effect in that regards. Normally that takes place on server side... scripts not being called to close or exit and for that you should be able to notice differences in performance fairly easily and there are many tools for . If you are using PHP scripting I would just make sure to clean and exit or sanitize any scripts once they have been called. 

    "No, you need to use 8080"

    I believe you mean using command line via 'telnet <your ROKU ip> 8085'
    Cheers.
    • edfernands's avatar
      edfernands
      Newbie

      Hi, I am using the "sgnodes roots" and "free" command on telnet [ROKU_IP]:8080 to understand if the nodes are really being destroyed as it must. However I started working with a code that is a little bit messy and for what I see it has memory leak issues, there are some views/screens that are removed but somewhere in the code something is holding references for this objects. I've tried to use the bsc in 8085 but it does not help. So what I want is to have a way to know what variables or fields are holding specific node listed on "sgnodes roots". BSProfiler is a good tool but for this I am not sure if it will help, at least for now.

      Thanks in advance.