You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.
Yandex Market Language (YML) for Python version: 0.6.0
Python version: 3.8.3
Operating System: Windows 10 2004 (for testing) and Debian 10 (for production)
What I Did
I tried to process a 100 MB file and the processing machine exceeded the memory limit (~2 gb). Is there any way to optimize file reading or processing so that it doesn't go out of memory?
The text was updated successfully, but these errors were encountered:
@stefanitsky I reworked the processing via iterparse, but it didn't give any result. In the end, the file takes up the same amount of RAM
Then i think the problem is that the entire package is built on classes and with such a large file size the memory is overloaded, so you can try to generate the classes through the generator in order to parse into memory gradually as needed, and not all at once.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What I Did
I tried to process a 100 MB file and the processing machine exceeded the memory limit (~2 gb). Is there any way to optimize file reading or processing so that it doesn't go out of memory?
The text was updated successfully, but these errors were encountered: