Skip to content

Conversation

daniel-mekuria
Copy link
Contributor

@daniel-mekuria daniel-mekuria commented Nov 28, 2023

this fixes an issue similar to #356 that exists when using with python312 and 311, I didn't test with other versions.
couldn't find where the leak is, so gc.collect() from the gc module is used at the end of the _close_data() function to clear all unreachable and uncollected memory and release the file access lock.

@daniel-mekuria daniel-mekuria marked this pull request as ready for review November 28, 2023 17:16
@erocarrera erocarrera merged commit d0eae2a into erocarrera:master Jan 11, 2024
@erocarrera
Copy link
Owner

Thanks!, I've checked and this change frees plenty of unreachable objects upon close.

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