https://issues.apache.org/bugzilla/show_bug.cgi?id=51256

             Bug #: 51256
           Summary: Memory consumption by parent process at sort_hook
                    function
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


I have noticed that sort_hook function don't destroy temporary pool.

This leads to a memory consumption of ~500K (=68 hooks * 8K) per PROCESS!

The resolution is very simple - destroy this pool after usage (before returning
the sorted hooks array).

Since the sorted hooks are memcpy'ed to another pool anyway, no one need this
pool.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to