Harjo:
if you add many records to a foundset, also once in while do: foundset.clear()
that will keep the speed up, and the memory low,
when do you perform the foundset.clear? would it be like the snippet below?
for (...) {
fs.newRecord();
if (index % 100 == 0) {
databaseManager.saveData(fs);
fs.clear();
}
}