Crash with very large files

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
binneyp
Posts: 3
Joined: Fri Feb 24, 2012 6:49 am

Crash with very large files

Post by binneyp » Fri Feb 24, 2012 7:46 am

I love DiffMerge, but when I use it to diff extremely large files, it crashes with:
Unhandled exception: sgdm.exe - Application Error
The instruction at "0x0045e048" referenced memory at "0x00000000". The memory could not be "read".
The files are both sorted and broadly similar. One (about 2 million lines, 202 Meg) is about twice the size of the other.

I can diff the files fine (using MKS' or Cygwin's diff); both generate about 130,000 output lines (at around 4 diff lines per file diff).

I am using DiffMerge 3.3.2 on XP.

Happy to upload a zip of the files if anyone wants to try and fix sometime and can point me at somewhere that will take the 40Meg .zip!

Cheers

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Crash with very large files

Post by jeffhostetler » Fri Feb 24, 2012 10:00 am

I suspect that you're running out of memory.

What version of DiffMerge do you have? (See the About Box.)

jeff

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: Crash with very large files

Post by jeffhostetler » Fri Feb 24, 2012 11:31 am

After I responded I noticed that you mentioned 3.3.2 in your original note.
And from the addresses you gave, I'd say the 32-bit version.

I doubt I'm going to be able to do much to help in the short term.
Those are some big files.

You might try turning the detail level down to lines-only (See the Options
Dialog) and/or use the /ro2 flag on the command line (making the right
side read-only). both options reduce the amount of memory used.

jeff

binneyp
Posts: 3
Joined: Fri Feb 24, 2012 6:49 am

Re: Crash with very large files

Post by binneyp » Mon Mar 19, 2012 8:42 am

Many thanks - I'm afraid that's not helping atm, and I am having to resort to another tool (Beyond Compare worked perfectly on 400Meg files).

Do let me know when/if a new version works better on massive files!
Cheers

Post Reply