Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@manuhortet
Copy link
Contributor

@manuhortet manuhortet commented Oct 13, 2025

Update the v2 migration logic to ensure memory cleanup after migrating each batch.

  • Delete all vars potentially containing large objects
  • Call gc.collect() to force Python to give the memory allocated for the SQLAlchemy processes back to the OS

@manuhortet manuhortet requested a review from a team as a code owner October 13, 2025 15:05
@manuhortet manuhortet marked this pull request as draft October 13, 2025 15:08
@manuhortet manuhortet marked this pull request as ready for review October 13, 2025 15:32
@manuhortet manuhortet merged commit 38eedc4 into main Oct 16, 2025
5 checks passed
@manuhortet manuhortet deleted the feat/v2-migration-memory branch October 16, 2025 12:23
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