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

Re: Memory leak during large 'move' operation

From: David Glasser <glasser_at_davidglasser.net>
Date: Thu, 19 Jun 2008 14:22:39 -0700

Thanks Matt. Are you capable of testing a patch? I suspect this
fixes it (but this is totally untested):

Index: subversion/libsvn_client/copy.c
===================================================================
--- subversion/libsvn_client/copy.c (revision 31453)
+++ subversion/libsvn_client/copy.c (working copy)
@@ -463,7 +463,7 @@ do_wc_to_wc_moves(const apr_array_header
         break;

       err = propagate_mergeinfo_within_wc(pair, src_access, dst_access,
- ctx, pool);
+ ctx, iterpool);
       if (err)
         break;

A similar change probably could happen in do_wc_to_wc_copies.

--dave

On Thu, Jun 19, 2008 at 2:11 PM, McHenry, Matt
<mmchenry_at_carnegielearning.com> wrote:
>
> Following the bug reporting process, I'm posting here before
> filing an issue in the issue tracker.
>
> $ svn --version
> svn, version 1.5.0 (r31699)
> compiled Jun 19 2008, 15:38:31
>
> $ ls *.svg | wc -l
> 1158
>
> $ svn mv *.svg ../../../../images/curriculum/Test-Questions/
> <snip>
> D MT-MC-27-1002-c-02.svg
> A
> ../../../../images/curriculum/Test-Questions/MT-MC-27-1002-c-03.svg
> D MT-MC-27-1002-c-03.svg
> A
> ../../../../images/curriculum/Test-Questions/MT-MC-27-1002-c-04.svg
> svn(7989) malloc: *** vm_allocate(size=528384) failed (error code=3)
> svn(7989) malloc: *** error: can't allocate region
> svn(7989) malloc: *** set a breakpoint in szone_error to debug
> Out of memory - terminating application.
> Abort trap
>
> $ uname -a
> Darwin BuildMachine.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct
> 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
> powerpc
>
> Let me know if you need more information, or if this is
> sufficient to file an issue. I'm not subscribed to the list, so please
> reply directly.
>
> Thanks for the new release -- the new mass moving feature, even
> with this bug, is hugely useful! :)
>
>
> Matt McHenry
> 412-690-2442 x150
> Software Developer
> Carnegie Learning, Inc.
> Learning By Doing (r)
> Helping over 500,000 students in 2,600 schools to succeed in math.
> http://www.carnegielearning.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org
>
>

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-06-19 23:22:51 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.