diff problem

Matt Mackall mpm at selenic.com
Tue Dec 8 09:59:33 UTC 2009


On Tue, 2009-12-08 at 16:42 +0700, Tim Armstrong wrote:
> Hi,
> I recently attempted to commit a 5.3 MB file with 5.7 MB worth of 
> changes to its most recent revision (which was 5.1 MB in size). The 
> commit failed and as I further investigated the cause I discovered that 
> hg diff also fails after about 40 seconds by simply exiting without 
> giving an error message. If I simply delete half of the new file for 
> testing purposes the diff succeeds. The exact file size at which it 
> fails seems to vary though so it doesn't seem like a problem with the 
> file content.
> I found this message on the mercurial list 
> http://marc.info/?l=mercurial&m=117499200905031&w=2 but am unsure 
> whether lack of memory if the cause of my problem as the file sizes do 
> not seem excessive (especially compared to the sizes that other folks on 
> the list mention having problems with) and I am able to get a diff from 
> the diff program as well as kdiff3 and meld.
> I would appreciate any thoughts or insight,

At an absolute minimum, basically any bug report should include a
version number. But we'll probably also want to know other relevant
information like what operating system you're using, how much memory you
have, and whether any resource limits are in place (on Unix/Linux with
bash, that'd be ulimit -a).

You might also try running your command with --debug --traceback.

-- 
http://selenic.com : development and support for Mercurial and Linux





More information about the Mercurial mailing list