git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Reintroduce svn pools to solve the memory leak.

From
JGJan-Benedict Glaw <jbglaw@lug-owl.de>
Date
Mar 28, 2006, 08:10 UTC
Message-ID
<20060328081037.GH31387@lug-owl.de>
In-Reply-To
<7vhd5joiqt.fsf@assigned-by-dhcp.cox.net>
On Mon, 2006-03-27 10:16:58 -0800, Junio C Hamano <junkio@cox.net> wrote:
Show 22 quoted lines
> "Santi Béjar" <sbejar@gmail.com> writes:
> > On 3/24/06, Santi Béjar <sbejar@gmail.com> wrote:
> >> Jan-Benedict Glaw <jbglaw@lug-owl.de> writes:
> >>
> >> diff-tree 4802426... (from 525c0d7...)
> >> Author: Karl  Hasselström <kha@treskal.com>
> >> Date:   Sun Feb 26 06:11:27 2006 +0100
> >>
> >>     svnimport: Convert executable flag
> >>
> >>     Convert the svn:executable property to file mode 755 when converting
> >>     an SVN repository to GIT.
> >>
> >>     Signed-off-by: Karl Hasselström <kha@treskal.com>
> >>     Signed-off-by: Junio C Hamano <junkio@cox.net>
> >>
> >> :100755 100755 ee2940f... 6603b96... M  git-svnimport.perl
> >
> > And this patch fixes my problems.
> 
> Jan-Benedict, thanks for pinpointing the regression, and Santi,
> thanks for the patch.

I'm currently running another test with GCC: this patch cuts down memory consumption to less than 1/10 of the previous state (VSZ) and even more for RSS (my system is quite loaded...)

MfG, JBG
-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Previous: Junio C HamanoNext: Karl Hasselström
Message 3 of 4 in “Reintroduce svn pools to solve the memory leak.”
  1. Reintroduce svn pools to solve the memory leak.Santi Béjar, Mar 27, 2006
  2. Junio C HamanoMar 27, 2006
  3. Jan-Benedict GlawMar 28, 2006
  4. Karl HasselströmMar 28, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.