Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.x, 3.2.10
    • Fix Version/s: 3.3.1
    • Component/s: core
    • Labels:
      None

      Description

      There is a memory leak in apache.table().

      from mod_python import apache

      def handler(req):
      req.content_type = 'text/plain'
      t = apache.make_table()

      req.write('ok table:')
      return apache.OK

      Using mpm-worker with StartServers 2, and 20000 requests results in memory consumption going from 1.2% to 9.3% per process. (ie approx 8k per request)

      This will have an impact on FieldStorage which makes use of apache.make_table(), which is the deprecated name for apache.table()

        Attachments

          Activity

            People

            • Assignee:
              jgallacher Jim Gallacher
              Reporter:
              jgallacher Jim Gallacher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: