[resend since gmail's Rich formatting was enabled] On Wed, Sep 14, 2011 at 8:33 PM, Alexander Kostikov <alex.kostikov@xxxxxxxxx> wrote: > > I'm new to git and I'm getting the following out of memory error on git gc: > > $ git gc > Counting objects: 80818, done. > Delta compression using up to 8 threads. > fatal: Out of memory, malloc failed (tried to allocate 24359675 bytes) > error: failed to run repack Try reducing the number of threads that are used. You must have some pretty large objects if you have 24GB and ran out of memory. The following will configure git to use only one thread. git config pack.threads=1 -Brandon -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html