git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maaartin <grajcar1@seznam.cz>
To: git@vger.kernel.org
Subject: Git pack - repo size doubled
Date: Thu, 24 Feb 2011 09:19:06 +0100	[thread overview]
Message-ID: <ik549p$pq8$1@dough.gmane.org> (raw)

I'm using git version 1.7.3.3 under cygwin (W XP64). When I tried

git repack -A -d --depth=255 --window=255 --window-memory=4g

I've got the message

rm: cannot remove `pack-c75642be5314b1a98ddfcf0d51ac838db4af75ad.pack':
Device or resource busy

It seems like the file hadn't got closed. The non-deletion of the file
roughly doubles the repo size (134070 KiB instead of 67470 KiB).

- Can I manually remove the file?

- If I do it, does "git fsck" suffice to make sure, everything's all right?

- Would creating of multiple packs work better? What "--max-pack-size"
would you recommend?

             reply	other threads:[~2011-02-24  8:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24  8:19 Maaartin [this message]
2011-02-24  8:31 ` Git pack - repo size doubled Jeff King
2011-02-24 10:02   ` Maaartin-1

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='ik549p$pq8$1@dough.gmane.org' \
    --to=grajcar1@seznam.cz \
    --cc=git@vger.kernel.org \
    /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).