Can anyone tell me what the (approximate) limitation is of the filesize that
TextDiff can handle?

I tried to compare two large files (140MB each) and got an out of mem error, see
below. It looked like PSPad only claimed about 2GB for the compare, where plenty
more was available. 

In defense of PSPad: WinMerge couldn't handle it either 


Exception description:


Out of memory.

Exception class: EOutOfMemory
Exception address: 004C7C22
--------------------------------------------------------------------------------
--------------------
Stack list, generated 18-8-2011 14:09:37
[00406CA7] System.DynArraySetLength + $CF
[004030B2] System.ErrorAt + $16
[00406CA7] System.DynArraySetLength + $CF
[00406D89] System.@DynArraySetLength + $5
[004CA009] SynUnicode.TWideStringList.SetCapacity (Line 1354, "SynUnicode.pas" +
1) + $F
[004C9C03] SynUnicode.TWideStringList.Grow (Line 1232, "SynUnicode.pas" + 11) +
$7
[004C9DB3] SynUnicode.TWideStringList.InsertItem (Line 1283, "SynUnicode.pas" +
3) + $2
[004C97BA] SynUnicode.TWideStringList.Add (Line 1069, "SynUnicode.pas" + 15) +
$7
[00404ECE] System.@HandleFinally + $2A
[0060E4F4] uChildDiff.TfChildDiff.DisplayDiffs (Line 573, "uChildDiff.pas" + 54)
+ $1C
[00404ECE] System.@HandleFinally + $2A
[0060D96F] uChildDiff.TfChildDiff.Execute (Line 349, "uChildDiff.pas" + 30) +
$3
[006ABC9C] uMain.TfPSPad.mCompareWithClick (Line 8519, "uMain.pas" + 15) + $7
[006AB5C3] uMain.TfPSPad.OpenFileByParams (Line 8326, "uMain.pas" + 160) + $C
[006AB7CE] uMain.TfPSPad.WMGetCommand (Line 8375, "uMain.pas" + 18) + $10
[004A0BC8] Controls.TControl.WndProc + $188
[004A3C27] Controls.TWinControl.WndProc + $157
[00489A3D] Forms.TCustomForm.WndProc + $421
[004F1255] TntControls.TWinControlTrap.WindowProc (Line 662, "TntControls.pas" +
19) + $5
[004A38A4] Controls.TWinControl.MainWndProc + $2C
[0042B530] Classes.StdWndProc + $14
[004F0EB8] TntControls.TWinControlTrap.Win32Proc (Line 550, "TntControls.pas" +
12) + $19
[0042B530] Classes.StdWndProc + $14
[004900EF] Forms.TApplication.ProcessMessage + $13
[0049017E] Forms.TApplication.ProcessMessages + $A
[00483ACC] ActnList.TCustomActionList.SetState + $64
[00698F4C] uMain.TfPSPad.PSPadInitialize (Line 1946, "uMain.pas" + 131) + $7
[004A0BC8] Controls.TControl.WndProc + $188
[004A3C27] Controls.TWinControl.WndProc + $157
[00489A3D] Forms.TCustomForm.WndProc + $421
[004F1255] TntControls.TWinControlTrap.WindowProc (Line 662, "TntControls.pas" +
19) + $5
[004A38A4] Controls.TWinControl.MainWndProc + $2C
[0042B530] Classes.StdWndProc + $14
[004F0EB8] TntControls.TWinControlTrap.Win32Proc (Line 550, "TntControls.pas" +
12) + $19
[0042B530] Classes.StdWndProc + $14
[0049015F] Forms.TApplication.ProcessMessage + $83
[00490196] Forms.TApplication.HandleMessage + $A
[004903C6] Forms.TApplication.Run + $96
[006D7BB1] PSPad.PSPad (Line 55, "I:\Delphi7\Projekty\PSPad\PSPad.dpr" + 31) +
$7
--------------------------------------------------------------------------------
--------------------
Program  : P:\bin\PSPad\PSPad.exe  4.5.4 (2356)
System   : Windows XP x64 Professional, Version: 5.2, Build: ECE, "Service Pack
2"
Processor: Intel, Intel(R) Xeon(R) CPU           X5550  @ 2.67GHz, 2660 MHz MMX
Display  : 1600x1200 pixels, 32 bpp
--------------------------------------------------------------------------------
--------------------
Active Controls Hierarchy:
TPSSynEdit "EditorL"
TPanel "panWork"
TfChildDiff "fChildDiff"
--------------------------------------------------------------------------------
--------------------

-- 
<http://forum.pspad.com/read.php?2,57019,57019>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem