Mercurial slow, impoosible to clone/pull/push

junk2 at skjaerris.com junk2 at skjaerris.com
Wed Jan 21 11:41:07 UTC 2015


Hi

No the files are not auto generated, and contains a lot of new lines, 
the revlog for the biggest one Par2.xml is only 10MB

Kastner Masilko, Friedrich skrev den 21.01.2015 11:52:
> > From: Mercurial [mailto:mercurial-bounces at selenic.com] On Behalf Of
> junk2 at skjaerris.com
>> 
>> I have a mercurial repository, which includes 2 xml files..
>> Par1.xml (size approx 1.5 MB) (600 revisions) Par2.xml (size approx 5 
>> MB)
>> (1200 revisions)
>> 
>> It has been like that for some time, but lately I am struggling by 
>> making
>> clone/pull/push from the mercurial repository. When I do a clone it's 
>> hanging
>> when it reaches these 2 xml files, sometimes it goes though after 3-5
>> minutes other times it fails.
>> 
>> Can it be true the Mercurial cant handle a 5MB file with many 
>> revisions?
>> OR where should I find this problem. THe server is running windows and 
>> IIS,
>> and has 16 cores and 32GB ram.
> 
> If your XML files are autogenerated, chances are they do not contain a
> newline character at all. If this is the case, Mercurial will store a
> full copy even for 1-byte changes, so you probably have a 0.9GB
> Par1.xml revlog and a 6GB Par2.xml revlog.
> 
> I've once submitted a patch to ease this corner-case, but because I
> never came around to polish it, the change never made it in. If you
> are interested in experimenting with the patch, drop me a note.
> 
> Regards,
> Fritz
> 
> 
> 
> Development Engineering Software Suite
> Festo Gesellschaft m.b.H.
> Linzer Strasse 227
> Austria - 1140 Wien
> 
> Firmenbuch Wien
> FN 38435y
> UID: ATU14650108
> 
> Tel: +43(1)91075-198
> Fax: +43(1)91075-282
> www.festo.at
> 
> Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich
> fuer den bezeichneten Adressaten bestimmt.
> Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder
> Weitergabe des Inhalts dieser E-Mail und
> moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig. Wir
> bitten Sie, sich mit dem Absender der E-Mail in
> Verbindung zu setzen, falls Sie nicht der Adressat dieser E-Mail sind
> sowie das Material von Ihrem Computer zu loeschen.
> 
> This e-mail and any attachments are confidential and intended solely
> for the addressee. The perusal, publication, copying or
> dissemination of the contents of this e-mail by unauthorised third
> parties is prohibited. If you are not the intended recipient of this
> e-mail, please delete it and immediately notify the sender.


More information about the Mercurial mailing list