Hi,
What is the ,maximum limit for inserting records via recordinsertlist ?
So in the below case if my loop is 10000 times then will it run out ot memory supposing there are many heavy tables
MyTable myTable;
RecordInsertList insertList = new RecordInsertList(myTable.TableId);
int recordsCurrentlyInserted, i, recordsToInsert = 125;
;
for (i = 1; i <= recordsToInsert; i )
{
myTable.value = i;
recordsCurrentlyInserted = insertList.add(myTable);
info(strfmt("%1 records added, %2 records currently inserted.",
i,recordsCurrentlyInserted));
}
recordsCurrentlyInserted = insertList.insertDatabase();
info(strfmt("%1 records added, %2 records currently inserted.",
recordsToInsert,recordsCurrentlyInserted));
Does it consume memory and is there a way to execute it at server end .OR its just save data internally in some temp tables and executes it without conusming memory locations
Thanks,
VK