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

           Summary: mod_substitute has a memory leak
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Other Modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Using Apache 2.2.8 on WinXP, mod_substitute doesn't give back all used memory.


Configuration:
AddOutputFilter SUBSTITUTE html
Substitute "s|foo|bar|"


Create a file that contains the word "foo" a few times (I used a total filesize
of 4 MB).


Use ab to execute some requests:

./ab -n 200 -c 1 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~12MB, stays there.

./ab -n 200 -c 25 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~66MB, stays there.

./ab -n 200 -c 100 http://localhost:8082/foo.html
Memory usage raises from 7 MB to ~156MB, stays there.


-- 
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