Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.3
    • Component/s: DBAPI 2.0
    • Labels:
      None
    • Environment:
      Python 3.7.4/Windows 7

      Description

      With a reference to my previous report of memory leak (CONPY-118):
      The memory leak appears to has been fixed when testing with the script provided in the issue report. Thank you very much for the quick fix !

      I've been running the script for 10 minutes on my PC and the memory usage reported by the Windows Task Manager started from 6336K to reach stable level of 6492K. This test was run after a slight modification of the test script, namely: added gc.collect() at every 100th iteration.

      Then I modified the script thus:
      replaced
      cursor = conn.cursor(dictionary=False)
      with
      cursor = conn.cursor(dictionary=True)

      Still gc.collect() every 100th iteration.

      Running this modified script for 10 minutes showed memory usage increase from initial 6348K to 7064K.
      IMHO this indicates some outstanding allocations related to the result type as dictionary.
      Modified script is attached.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            Stefko Stefko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: