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

Re: Commit one repository from inside another: runs out of memory

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 30 Nov 2009 18:27:37 +0100

On Mon, Nov 30, 2009 at 09:12:01AM -0800, Mikhail Dvorkin wrote:
> ===== ERROR DESCRIPTION =====
>
> Error is seen under 1.6.6 but was also seen in previous versions.
>
> If one repository is in a subfolder of another repository, say
>
> D:\foo is one repository and
> D:\foo\bar is a completely other repository
>
> then commiting from the inside repository consumes huge amounts of memory and halts:

Do you mean "working copy" where you say "repository"?
You cannot commit from a repository. You can only commit from a
working copy to a repository.

>
> D:\foo\bar>svn ci -m ""
> Out of memory - terminating application.
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
> ===== STEPS TO REPRODUCE =====
>
> 1) cd D:\foo
> 2) svn checkout some-repository
> 3) mkdir bar
> 4) cd D:\foo\bar
> 5) svn checkout some-other-repository
> 6) create D:\foo\bar\a.txt
> 7) svn add a.txt
> 8) svn ci -m ""
>
> ===== SOME WORKAROUND =====
>
> To commit successfully I have to do the following:
>
> 1) move D:\foo\bar to D:\foo\bar\bar
> 2) commit from D:\foo\bar\bar
> 3) move D:\foo\bar\bar back to D:\foo\bar

The instructions to reproduce are not quite complete.

Can you show the commands needed to re-create the problem without
having any existing repositories? You can start by creating repositories
with the "svnadmin create" command, then check out working copies from
those repositories, and commit some changes from those working copies,
so that your problem happens.

This makes it easier for others to reproduce the problem on their
systems from scratch.

Thanks,
Stefan

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

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-30 18:28:27 CET

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.