Merge "Remove getFreeBytes() to fasten queryRoots call." into rvc-dev