cd /srv/gitosis/repositories/linux-2.6.git sudo git gc --aggressive Counting objects: 1763026, done. Delta compression using up to 2 threads. fatal: unable to create thread: Resource temporarily unavailable error: failed to run repack
I tried `sudo git gc` alone and it gets up to about 95% memory usage and then finishes without crashing. But running `git fetch` on the client still causes the server to crash by running out of memory. AJ ONeal On Wed, Dec 8, 2010 at 10:46 PM, Dave Smith <[email protected]> wrote: > I assume you already ran "git gc"? > > --Dave > > > On 12/08/2010 12:55 PM, AJ ONeal wrote: > > I've got a VPS with 512mb RAM (and no swap possible). > > I'm using gitosis to host a fork of the kernel. > > How can I tell git to be more conservative about memory usage? > > Since my last push I can no longer pull because it runs out of memory. > Shouldn't 512mb be enough? Really now... > > AJ ONeal > > > -------------------- > BYU Unix Users Group http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list > > >
-------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
