0

I suspect there's a memory leak on my web page.

Following online tutorials, I took two memory snapshots in Incognito Mode at different times. Here are the results:

screenshot of memory snapshot

It shows that memory increased from 84.9MB to 133MB, mainly due to (Compiled Code), (CSSAnimation), and (KeyframeEffect). I have three questions:

  1. Why doesn't the sum of 'Size Delta' on the right equal 133MB - 84.9MB = 48.1MB?

  2. (CSSAnimation) and (KeyframeEffect) are retained because of InspectorOverlayHost. After researching, it seems InspectorOverlayHost is related to DevTools and not the real cause of my page's memory leak. How can I exclude this interference to find the root cause?

enter image description here

  1. What is (Compiled Code), and why does it keep growing?

I'm still confused about using DevTools to analyze memory leaks. Any help would be greatly appreciated.

0

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.