[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r982355 - /subversion/branches/performance/subversion/svnserve/main.c

From: Blair Zajac <blair_at_orcaware.com>
Date: Tue, 9 Nov 2010 08:52:43 -0800

On Aug 4, 2010, at 11:43 AM, stefan2_at_apache.org wrote:

> Author: stefan2
> Date: Wed Aug 4 18:43:29 2010
> New Revision: 982355
>
> URL: http://svn.apache.org/viewvc?rev=982355&view=rev
> Log:
> Fix an issue with fulltext caching already present in production SVN:
> APR pools often won't reuse memory fragments if they are larger
> than 80kB. Using string buffers while reconstructing fulltexts does
> exactly The Bad Thing: request large buffers of various sizes that
> APR pools will often not reuse due to their differing and often just
> a tad bit too small size.

> @@ -859,10 +860,22 @@ int main(int argc, const char *argv[])
> return ERROR_SUCCESS;
> #endif
>
> + /* If we are using fulltext caches etc., we will allocate many large
> + chunks of memory of various sizes outside the cachde for those

s/cachde/cache/

Blair
Received on 2010-11-09 17:53:27 CET

This is an archived mail posted to the Subversion Dev mailing list.