Anyone else seen excessive memory use by mod_dav_svn when exporting large files?
I'm using httpd-2.2.22-ssl-x64 and mod_svn-1.7.8-x64 on a windows 2008 server.
I have a single repository containing 1 680MB .iso file which is not very compressible. The revision file is around 650MB.
If I do an svn export
http://server/repo/path/to/file.iso I see the httpd.exe process use almost 10GB of RAM on the server.
If I enable an output filter, memory use on the server is reasonable at 300MB.
SetOutputFilter DEFLATE
This is the opposite behavior I would expect. I am unable to reproduce this behavior on unix using the same httpd version and mod_svn 1.7.5. (I tried mod_svn 1.7.5 on windows and it also over allocated memory.)
I can see httpd.exe allocating around 200MB/sec of RAM on the server before it gets to the 10GB mark. Once the export is finished RAM usage returns to around 34MB. I have disabled almost all other modules, but the behavior remains.