Skip to content

test(node): Add memory leak test for LocalVariables #10080

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

Merged

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Jan 5, 2024

This PR adds a test for the LocalVariable integration that causes 20k caught exceptions and checks that the memory usage does not go over 100MB.

@timfish timfish marked this pull request as ready for review January 5, 2024 19:47
@timfish timfish requested a review from lforst January 5, 2024 19:48
Copy link
Member

@lforst lforst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome. Thank you! I am wondering. If we try this change on the pre-#10077 SDK, will this test fail?

@AbhiPrasad AbhiPrasad merged commit 3160419 into getsentry:develop Jan 8, 2024
@timfish
Copy link
Collaborator Author

timfish commented Jan 8, 2024

If we try this change on the pre-#10077 SDK, will this test fail?

I will check!

@timfish timfish deleted the feat/local-variables-memory-leak branch January 8, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants