Add ramBytesUsed impls and fix some doc id sets that are not cacheable at all!