Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in CMP stub implementation #454

Open
nching-publift opened this issue Jul 12, 2024 · 0 comments
Open

Memory leak in CMP stub implementation #454

nching-publift opened this issue Jul 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nching-publift
Copy link

nching-publift commented Jul 12, 2024

Version: v1.5.13
Module: stub

I have implemented the CMP stub as suggested in the stub.js.
In order to reproduce the bug I had to refresh the creative repeatedly and inspect the JS heap space through chrome dev tools

The first screenshot shows that there are many Window objects created
Screenshot 2024-07-12 at 3 12 49 PM
The second screenshot shows the source code when clicking uc.js:2 code link from teh first screenshot
Screenshot 2024-07-12 at 3 12 17 PM
This screenshot shows the retaining object
Screenshot 2024-07-12 at 3 13 48 PM

@nching-publift nching-publift added the bug Something isn't working label Jul 12, 2024
nching-publift added a commit to nching-publift/iabtcf-es that referenced this issue Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant