designcourse icon indicating copy to clipboard operation
designcourse copied to clipboard

🐛 Track Click Action produces memory leak

Open VincentMolinie opened this issue 1 year ago • 2 comments

Describe the bug On RUM, the click track action seems to keep HTML element reference which produces this Screenshot 2024-07-15 at 21 06 06 Screenshot 2024-07-15 at 21 06 19

To Reproduce Steps to reproduce the behavior:

datadogRum.init({
      site: 'datadoghq.com',
      service: 'frontend',
      sessionReplaySampleRate: 0,
      trackUserInteractions: true,
      trackResources: true,
      trackLongTasks: true,
      trackViewsManually: true,
      defaultPrivacyLevel: 'mask',
      useSecureSessionCookie: true,
    });
  1. Click on a few stuff in your page
  2. Navigate to another page

Expected behavior Click should not produce a memory leak

VincentMolinie avatar Jul 15 '24 19:07 VincentMolinie

Hi @VincentMolinie,

Thank you for reporting this issue. I'm not able to reproduce the issue you're describing. Would you be able to provide a minimal reproducible example in a code sandox? Or if possible, a link to the website where you experience the issue.

thomas-lebeau avatar Jul 17 '24 13:07 thomas-lebeau

I will try to find a reproductible scenario

VincentMolinie avatar Jul 18 '24 13:07 VincentMolinie

Hello, As there hasn’t been any update or a reproducible example provided in the last four months, we are closing the issue for now. If you’re still experiencing this problem and can share the necessary details to reproduce it, please feel free to reopen the issue or create a new one.

amortemousque avatar Jan 10 '25 13:01 amortemousque

@amortemousque I'm having the same issue as well (retainer chain looks very similar). I started a support request with additional details. I can provide reproduction steps; however, you'd need to log in to our application using test credentials. If you share your email with me, I can send those to you.

kanoshin avatar Oct 25 '25 03:10 kanoshin