(ITS#8953) Windows lmdb warnings and a memory error