We have been using the RadEditor's diff engine for some time now to compare strings, and it has worked quite well for us. Recently, however, we have run into a problem where were are seeing the exception "system.outofmemoryexception was thrown" when comparing two long XML strings.
Here is how we use the diff engine:
Are there length limitations for the strings that can be passed to the diff engine?
Thanks,
Geoff LeBlond
Silverchair Science & Communications
Here is how we use the diff engine:
| Dim strValue1 As String |
| Dim strValue2 As String |
| Dim strResult As String |
| Dim diff As New Diff.DiffEngine |
| ' ...code here assigns long XML strings to strvalue1 and strvalue2; srvalue1's length = 93145; strvalue2's length = 113236... |
| strResult = diff.GetDiffs(strValue2, strValue1) |
Are there length limitations for the strings that can be passed to the diff engine?
Thanks,
Geoff LeBlond
Silverchair Science & Communications