[
https://issues.apache.org/jira/browse/SVN-4531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Zhakov updated SVN-4531:
-----------------------------
Fix Version/s: (was: 1.8.x)
1.8.14
1.7.19
> server-side copy (over dav) is slow and uses too much memory
> ------------------------------------------------------------
>
> Key: SVN-4531
> URL: https://issues.apache.org/jira/browse/SVN-4531
> Project: Subversion
> Issue Type: Bug
> Components: mod_dav_svn
> Affects Versions: trunk
> Reporter: Stefan Sperling
> Fix For: 1.8.14, 1.7.19
>
> Attachments: 1_gentree.py, 2_mod-dav-walk-scratch-pool.diff
>
>
> {noformat:nopanel=true}
> Copying a large and deep directory tree via URL->URL copy over DAV uses too
> much
> memory. In the wild, I've seen servers abort or crash while servicing copy
> operations of top-level directories in repositories totalling about 40GB in
> size.
> To reproduce, create a directory tree with the attached script (writes about
> 400MB of data to /var/tmp/gentreetest/) and import this tree into a fresh
> repository under /trunk. I tested with trunk, FSFS format 7.
> Then try to copy the trunk directory over HTTP. httpd's quickly reaches up to
> 1
> or 2 GB in my observations. Even if the copy succeeds it takes some noticable
> amount of time to complete.
> This problem seems to be specific to mod_dav or mod_dav_svn.
> A workaround is to use file:// URLs. The copy operation completes instantly
> over
> file:// with no apparent memory usage problem.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)