Library.db size more than doubled in latest version

I’ve found the problem and there should be a fix deployed later today.