Hi there,
I found a problem that memory usage increase a lot when calling Sheet.Rows.Length. I am wondering is it memory leak or by design?
Test code shows as below
public MainWindow()
{
InitializeComponent();
var workbook = new Spire.Xls.Workbook();
workbook.LoadFromFile("test.xlsx");
var sheet1 = workbook.Worksheets[0];
for (int i = 0; i < sheet1.Rows.Length; i++) //memory usage increases more tha 10MB each loop.
{
//do nothing
}
}
thanks,
Pan