Posted 13 February 2018, 10:01 am EST
In our application we are saving large amounts of data, formulas and formatting information to the .xml file with the following line of code;
frmMain.spdProj.Save(Trim(FirmCompanyOptions.CompanyFolder) & Trim(spdProj_SetupOpt.SpreadFileName) & “.xml”, False)
These .xml files can be in excess of 100MB.
We have noticed that when you save the .xml file more than once without exiting the application the save time increases upon subsequent saves. For example, for a series of 3 consecutive saves without doing any other actions the save times were as follows;
First save 8 seconds
Second save – 50 seconds
Third save – 70 seconds
The file being saved was about 150mb.
Do you have any ideas as to why this is happening? If it is memory leakage, is there any way to resolve it?
Thanks