Description
There appears to be three areas that use too much memory when lots of files are deleted. The patch at the url fixes #1 below and passes all ra_local tests on Windows. 1. During a commit of many deleted targets, the client process memory grows inordinately. 2. During a commit of many deleted targets, the server process (svnserve) memory grows inordinately. 3. During an update of many deleted targets, the client process memory grows inordinately Recipe recap below (note that using * in the command line to generate lots of targets rather than just operating on the directory is what seems to trigger it): Recipe running HEAD (r7968) svnserve and client on Windows: create empty repo check it out copy lots of files into the root wc folder (no subdirs) (I used the files -- no subdirs -- from Apache's docs/manual directory and apr-iconv's ccs directory) svn add * svn commit svn co to a secondary wc for later use svn del * svn commit * -- without the above patch, both the client and the server memory grow to huge amounts; with the patch the client stays steady but the server still grows cd to secondary wc svn up -- the client memory grows to huge amounts
http://www.contactor.se/~dast/svn/archive-2003-12/0433.shtml
Original issue reported by djh