Hello!
Our product is using GroupDocs.Comparison to compare different versions of a document. One of our customers currently has problem with comparison of a few different documents. The comparison starts, but never terminates. The customer is also experiencing memory leakage related to this which eventually leads to the application crashing. I made a simple console app to isolate the problem, but the same error still occurs. I provide the code from my console app and three documents that cause the issue.
LicenseHandler.SetLicense();
const string loadPath1 = @"Documents\08456-1.docx";
const string loadPath2 = @"Documents\08456-2.docx";
const string outputPath = @"Output\08456-result.docx";
var compareOptions = new CompareOptions
{
DetectStyleChanges = false,
GenerateSummaryPage = false
};
using var doc1 = new FileStream(loadPath1, FileMode.Open);
using var doc2 = new FileStream(loadPath2, FileMode.Open);
using var comparer = new Comparer(doc1);
comparer.Add(doc2);
using var outputStream = File.Create(outputPath);
comparer.Compare(outputStream, compareOptions);
Link to documents: https://canea-my.sharepoint.com/:f:/g/personal/tomas_odin_canea_se/EpJeS-Uoo_pCseZLVyCU0QYB4x2KU1LdLTtT9cn85xOMFQ?e=1G67iF
I have also tried the online comparison tool and it also does not produce any result - https://products.groupdocs.app/comparison/total
We need a fix/solution to this problem.
We would also like to know if there is anything within the documents that causes the problem so that we could let our customer know a potential temporary work around.
We hope you can assist us with a solution!