Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.0.2
    • 1.0.3
    • DBAPI 2.0
    • None
    • 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

            georg Georg Richter
            Stefko Stefko
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.