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

RE: Re: memory leak

From: Manfred Lange <ml_at_agileutilities.com>
Date: Fri, 8 May 2009 16:40:44 -0700 (PDT)

I agree with Wolfgang. It looks like a memory leak. I have the same issue on a Windows Vista platform (32 bit) with SVN 1.6.1.

To reproduce:
1. Create a new repository for this test (can be an existing one as well)
2. Added a large number of folders and files to the repository (I use a folder that contains 13,000 files).
3. Commit the added folders and files.
4. Wait until SVN reports 'out of memory' in it's output

In my environment it takes about 1 hour. SVN consumes about 1 kByte per file during that time and the memory consumption goes up while transferring the content to the server.

The issue is reproducable with both SVN 1.6.1 and the equivalent TortoiseSVN version. The former at least reports the error properly before it closes. TortoiseSVN simply crashes.

It certainly can also be related to memory fragmentation. Without looking into the source code and based on my experience this looks more like a memory leak than fragmentation.

I've reported this issues as bug #3411 which was closed as a duplicate to bug #1964 without further investigation. Bug #1964 has been open since 2004 (if the date is correct).

Admittedly this is not a typical change set. However, I wanted to use the above approach for migrating to Subversion. I am also open to work arounds or to different approaches for getting a large number of files into a repository. The issue described above wouldn't go away with this.

My configuration:
- Windows Vista, 32 bit, all service packs / hotfixes installed
- SVN 1.6.1
- TortoiseSVN 1.6.1

Cheers,
Manfred.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2125901

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-09 01:46:46 CEST

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

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