git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Rast <trast@student.ethz.ch>
To: Onsager <onsager@gmx.net>
Cc: <git@vger.kernel.org>
Subject: Re: git svn rebase  “out of memory” error after merging two tracking branches
Date: Tue, 6 Dec 2011 18:56:52 +0100	[thread overview]
Message-ID: <201112061856.52560.trast@student.ethz.ch> (raw)
In-Reply-To: <4EDE4589.9030601@gmx.net>

Onsager wrote:
> @list
> 
> ... more detailed explanation on stackoverflow:
> 
> http://stackoverflow.com/questions/8398405/git-svn-rebase-out-of-memory-error-after-merging-two-tracking-branches
> 
> Is there something, I can do about this issue as a common user?

In this age of 5-second attention spans, I'm not sure you can expect
us to follow a link to an external site when a simple cut&paste job
would have sufficed, like so:

  I'm tracking two customer SVN branches with msysgit 1.7.7.1 (Win 7 64bit):

    SVN                Git

    trunk          --> master
    release_x_y_z  --> git-local-release_x_y_z 

  After a successful local merge of 'git-local-release_x_y_z' into
  'master' I'm running out of memory, when trying to synchronize the
  result with svn:

    mb@MMPEPA23 /c/git/MySoft (master)
    $ git svn rebase
    First, rewinding head to replay your work on top of it...
    Applying:
    fatal: Out of memory, realloc failed
    Repository lacks necessary blobs to fall back on 3-way merge.
    Cannot fall back to three-way merge.
    Patch failed at 0001

    When you have resolved this problem run "git rebase --continue".
    If you would prefer to skip this patch, instead run "git rebase --skip".
    To check out the original branch and stop rebasing run "git rebase --abort".

    rebase refs/remotes/git-svn: command returned error: 1 

  The .git/rebase-apply directory contains a few files ('patch', '0001')
  with more than 1GB size. What can I do in order to apply this patch?


First you should find out whether something went wrong with the patch
generation, or if that 1GB size is plausible.  Did your merge bring in
blobs that were that big?

Second, you could try with the -m option.  This will use a 3-way merge
to rebase, which avoids generating a full patch.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

      reply	other threads:[~2011-12-06 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06 16:40 git svn rebase “out of memory” error after merging two tracking branches Onsager
2011-12-06 17:56 ` Thomas Rast [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201112061856.52560.trast@student.ethz.ch \
    --to=trast@student.ethz.ch \
    --cc=git@vger.kernel.org \
    --cc=onsager@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).