modelica-tools / csv-compare

Tool to compare curves from one csv files with curves from other csv files using an adjustable tolerance
https://www.modelica.org
BSD 3-Clause "New" or "Revised" License
26 stars 15 forks source link

Compare.exe needs a lot of RAM in tree compare mode #1

Closed svenruetz closed 9 years ago

svenruetz commented 9 years ago

source: https://trac.modelica.org/Modelica/ticket/1486

If I compare all test cases of MSL in tree mode, compare.exe needs about 5 GB of RAM. On my 8 GB machine, I have to close applications before being able to start the tree compare operation.

If the number of test cases increases in future, it's going to get critical on standard PCs.

It should be investigated if RAM usage can be reduced. E.g. by writing reports to hard disk during tree compare. Currently it seems to write all reports at the end.

Used version: compare.exe 64bit r7267

Used call:

compare.exe --mode csvTreeCompare --tolerance 2e-3 --delimiter "," --verbosity 2 C:\Work\upload\RegressionTesting\MSL\ReferenceResults\v3.2.1+build.2.release\Modelica C:\Work\upload\RegressionTesting\MSL\ReferenceResults\v3.2.1+build.2.release\Modelica --logfile log.txt --comparisonflag --reportdir 07_r7267_Modelica