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

Tests of mem issue. #101

Merged
merged 13 commits into from
Mar 15, 2024
Merged

Tests of mem issue. #101

merged 13 commits into from
Mar 15, 2024

Conversation

tomkordic
Copy link
Contributor

Memory tests.

@tomkordic tomkordic self-assigned this Mar 1, 2024
@tomkordic tomkordic requested a review from a team as a code owner March 1, 2024 18:44
tomkordic and others added 8 commits March 5, 2024 18:10
When the Worker actor loops over a file, it does not always deallocate
file chunks until the loop completes.

Because each ChunkWorker is intended to be only used once, it is not
necessary to keep a reference to its file chunk beyond the upload task
call.
@andrewjl-mux andrewjl-mux changed the base branch from main to releases/v0.7.0 March 6, 2024 02:11
@andrewjl-mux andrewjl-mux force-pushed the mem_issue branch 2 times, most recently from 130fd9a to d4df788 Compare March 15, 2024 08:19
@andrewjl-mux andrewjl-mux merged commit 1cf9783 into releases/v0.7.0 Mar 15, 2024
1 check passed
@andrewjl-mux andrewjl-mux deleted the mem_issue branch March 15, 2024 08:27
@github-actions github-actions bot mentioned this pull request Mar 15, 2024
andrewjl-mux added a commit that referenced this pull request Mar 15, 2024
* feature: add macos deployment target (#102)

* fix: clean up chunk memory (#101)

* avoid keeping a reference to the file chunk in ChunkWorker

When the Worker actor loops over a file, it does not always deallocate
file chunks until the loop completes.

Because each ChunkWorker is intended to be only used once, it is not
necessary to keep a reference to its file chunk beyond the upload task
call.

---------

Co-authored-by: AJ Lauer Barinov <[email protected]>

---------

Co-authored-by: Eden Halperin <[email protected]>
Co-authored-by: Tomislav Kordic <[email protected]>
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.

2 participants