Skip to content

Address Memory Leak in Study Test#7750

Open
labkey-danield wants to merge 3 commits into
developfrom
fb_investigateMemoryLeak
Open

Address Memory Leak in Study Test#7750
labkey-danield wants to merge 3 commits into
developfrom
fb_investigateMemoryLeak

Conversation

@labkey-danield

@labkey-danield labkey-danield commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Rationale

The StudyDatasetChangeEmailNotificationTest has been failing with a memory leak consistently in the Study test on TeamCity.
Looking at the heap dump with Claude it was narrowed down to the SendDailyDigestAction which is done in the test 5 times using an executeScript call. Only one of the calls doesn't check to see if the email has been sent. This changes that one call to be synchronous.

Related Pull Requests

Changes

  • Do a synchronous call to send mail in the setup.

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.

1 participant