[CONPY-195] Memory leak - using cursor function - fetchone Created: 2022-03-20 Updated: 2022-05-03 Resolved: 2022-04-12 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | None |
| Affects Version/s: | 1.0.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | suresh ramagiri | Assignee: | Georg Richter |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
It is reported by one of our customers, using the cursor functions: fetchone, observing the memory consumption and slowly leading to high memory usage, possible some sort of memory leak. Customer comments: |
| Comments |
| Comment by suresh ramagiri [ 2022-03-28 ] |
|
Locally am able to reproduce the case: MariaDB Connector/Python 1.0.7/1.0.10 With the sample program shared, it does look like over a time, it consumes the memory. Python3.6 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Python3.8 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND Note: |
| Comment by Julien Fritsch [ 2022-03-28 ] |
|
Thank you. |