PFS-818 #comment ignore OutOfMemoryError and discard loaded results to
free memory.
PFS-818 #comment write database file on temporary location and move to
final location (copy if not possible). Retry this 10 times max with
delay. Skip out of memory exceptions on unused fields and discard
results