Bug #79887 | Python connector with C extension leaks memory if used to insert unicode strings | ||
---|---|---|---|
Submitted: | 8 Jan 2016 10:39 | Modified: | 28 Jul 2017 2:33 |
Reporter: | Andrea Calligaris | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S1 (Critical) |
Version: | 2.1.3 | OS: | CentOS (6.6) |
Assigned to: | CPU Architecture: | Any | |
Tags: | python connector cext C extension memory leak |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file