-
Notifications
You must be signed in to change notification settings - Fork 73
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
Decompressing large .7z files (> 4GiB) causes Python to raise MemoryError exception #32
Comments
I managed to read 7z files in chunks. @fancycode if you have any interest in this let me know, I can wrap it up in a method and do a pull request. It could potentially solve this issue. |
@victor3rc, what were the results with files exceeding 4GiB? |
@victor3rc sure, pull requests are always welcome! |
@victor3rc I'm highly interesting by that code which read 7z files in chunks. It makes little sense for the ArchiveFile class to have a single read method which reads the whole file in memory. |
Hey @remyroy @ijacquez, just an update: I managed to read chunks but I was getting some errors when I was calling A temporary solution I have found to the problem is to use |
Do you have an idea as to what is causing that? Is it your changes? Are the chunks too big? |
no idea, sorry. I didn't have time to look into the |
@victor3rc , could you post your chunk reading code? even if it didn't fully work? |
Decompressing large .7z files (> 4GiB) causes Python to raise MemoryError exception:
The text was updated successfully, but these errors were encountered: