You can use the next scenario for finding memory leaks.
After that you will see objects a set of leaked objects. You can select an object and look at the list of retainers in Object's retaining tree
--------------------------
I am trying to pinpoint the source of a suspected memory leak in Javascript code and am currently trying to do so through heap snapshot comparisons. (compiled code) and (array) definitely appear to be growing without bounds over time. Under (compiled code), there are a significant number of entries under which there is a relocation_info entry. What does relocation_info mean? I have attached a screenshot.Thanks and looking forward to your feedback.--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Regards,
Tim.
Regards,
Tim.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Regards,
Tim.
On Mon, Mar 25, 2013 at 1:01 PM, Ilya Tikhonovsky <loi...@chromium.org> wrote:
the most useful strategy to fight against memory leaks was described here http://stackoverflow.com/questions/11969062/tool-to-track-down-javascript-memory-leak/12061206---------------------------------You can use the next scenario for finding memory leaks.
- open devtools profiler
- do an action that makes a leak
- take a heap snapshot
- repeat steps 2 and 3 tree times
- select the latest heap snapshot
- change filter "All Object" to "Objects between Snapshot 1 and 2"
After that you will see objects a set of leaked objects. You can select an object and look at the list of retainers in Object's retaining tree
--------------------------
Regards,
Tim.
On Sat, Mar 23, 2013 at 1:09 AM, James <jameswa...@gmail.com> wrote:
I am trying to pinpoint the source of a suspected memory leak in Javascript code and am currently trying to do so through heap snapshot comparisons. (compiled code) and (array) definitely appear to be growing without bounds over time. Under (compiled code), there are a significant number of entries under which there is a relocation_info entry. What does relocation_info mean? I have attached a screenshot.Thanks and looking forward to your feedback.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Has anyone found a solution to this? I also find that "Compiled Code" and "Array" grow the entire time my application is up. The profiler isn't very helpful because none of my JavaScript is shown in the stack.-Robert
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/e21f8fe5-791f-4942-854d-481178bdef3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.