Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: Git server eats all memory

From: Jared Hance <hidden>
Date: 2016-06-15 22:49:15

On Thu, Aug 05, 2010 at 08:33:02AM +0200, Ivan Kanis wrote:
I am ready to do whatever to diagnose the problem. I know C pretty well
and am ready to look into it but I am not sure where to start.
It sounds like Git is reading each object into memory to send it to
the client, but doesn't remember to free the memory at the end of
sending the object, so it remains as a memory leak.

I would look in the code for malloc calls that don't have a free call,
or spots where free calls might not be hit.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help