hiepwork08
6 years agoContributor
UltraGrid using too much memory
I am testing a desktop application where I need to access the ultragrid object.
As part of the test I need to loop through the grid to get cell objects:
I have the following lines of code:
while (!TableList.IsEOF())
{
actual_Item = Grid.Rows.Item(i).Cells.Item(ColumnIndex).Value.OleValue;
expected_Item = TableList.Value(TableColName);
}
Through tests, I am finding that the line:
actual_Item = Grid.Rows.Item(i).Cells.Item(ColumnIndex).Value.OleValue;
is using up a lot of memory as such that it causes test complete to crash.