Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-195

Memory leak - using cursor function - fetchone

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Incomplete
    • 1.0.7
    • N/A
    • None
    • None

    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:
      Python version is - Python 3.6..
      Find attached small program we stripped out using the MariaDB library. The program almost double in size in ~ 48hrs and still growing.
      The pattern of growth is around 200K per hour. After the initial growth, it stays on the same size for 20-30min, then jump up by 90-100KB

      Attachments

        1. memleak.py
          4 kB
          suresh ramagiri

        Issue Links

          Activity

            People

              georg Georg Richter
              suresh.ramagiri@mariadb.com suresh ramagiri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.