[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: #4667, Merge uses large amount of memory

From: Julian Foad <julian_at_foad.me.uk>
Date: Fri, 6 Jan 2017 12:26:12 +0000

I wrote:
> "svn-mergeinfo-normalizer" fails to execute in the available RAM.

But looking closer, it says "Memory fault" which may indicate some other
kind of failure rather than not enough memory.

Stefan Fuhrmann wrote:
> If the tool manages to read the mergeinfo, it will print m/i
> stats before fetching the log. Does it get to this stage?

One of the examples the customer provided for the memory fault (path
names obscured):

[[[
Running the normalizer on one line that is bad works some times, but
other times it doesn't. With the -v option, here is one of the bad paths
(filelist2.txt is just: ./H___/S___/T___):

___:/nfs/2___/l___/Data-Source> svn-mergeinfo-normalizer normalize
--remove-obsoletes --remove-redundant --remove-redundant-misaligned
--combine-ranges --targets ~/filelist2.txt --depth empty -v
Scanning working copy /nfs/2___/l___/Data-Source/H___/S___/T___ ...
Found mergeinfo on 1 nodes.
Found 76 branch entries.
Found 77 merged revision ranges.

Fetching log for https://c___/t___/d___
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
....................................................................................................................................................................................
Received 1200983 revisions from 1 to 1200984.
Received 5720201 path changes.
Pool has 3020575 different paths.

Removing obsolete branches and redundant mergeinfo, combining revision
ranges ...
Trying to elide mergeinfo at path
/nfs/2___/l___/Data-Source/H___/S___/T___

Trying to remove obsolete entries ...
keep POTENTIAL branch /branches/___/218068-4/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/235073/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/241502-5/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/241502/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/242103-3/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/242794-2/Data/H___/S___/T___
keep POTENTIAL branch /branches/___/242794/Data/H___/S___/T___
Memory fault
]]]

- Julian
Received on 2017-01-06 13:26:26 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.