-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Python] pyarrow MemoryMappedFile.close() does not release memory #34423
Comments
Assuming you aren't saving |
@westonpace Hi, thanks for your reply. So you mean my code is correct and this should be a bug, right? |
Probably. What happens if you put a manual
I'm wondering if some dangling python object (e.g. maybe the |
@westonpace I already tried that (code below), but the memory will still be exhausted (
|
Describe the usage question you have. Please include as many useful details as possible.
I have a simple program to test the memory usage of MemoryMappedFile. In my above test, I'll loop over hundreds of 7GB files. I find the system memory usage continues to increase until exhausted even though I called source.close().
Is there anything wrong with my code or is this a bug?
Thanks for help in advance.
Component(s)
Python
The text was updated successfully, but these errors were encountered: