Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Git server eats all memory

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:49:16

On Mon, Aug 9, 2010 at 7:33 PM, Ivan Kanis
[off-list ref] wrote:
Nguyen Thai Ngoc Duy [off-list ref] wrote:
quoted
Can you send me massif report of git pack-objects? It'd be interesting
to see how memory is allocated.
Hi Nguyen,

I have attached the massif report.
Thanks. It does not look like it used a lot of memory (~50MB) (viewed
with ms_print). Git allocates 32 bytes per tree and 48 per commit plus
all tree contents, and all that will stay in memory until the end.

This command on git already gives me ~40MB peak. Are you sure you ran
it on your big repo?

echo|valgrind --tool=massif ./git pack-objects --all --stdout > /dev/null
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help