We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I tried to export 1 million row of my table and return:
runtime: out of memory: cannot allocate 1073741824-byte block (1576697856 in use) fatal error: out of memory
how to use batch or something like that to reduce memory usage?
The text was updated successfully, but these errors were encountered:
Are you using WriteString method? As indicated in the comment it may require a lot of memory.
WriteString
https://github.com/joho/sqltocsv/blob/a6d6801d59df0193e1ec803dbd696371675a329b/sqltocsv.go#L24C1-L28C2
Sorry, something went wrong.
No branches or pull requests
I tried to export 1 million row of my table and return:
how to use batch or something like that to reduce memory usage?
The text was updated successfully, but these errors were encountered: