[Issue 9316] New: performance issue when writing a high number of large objects