[TASK] DatabaseRecordList::createReferenceHtml uses too much memory