docs: def memory_full():
      """Check if the memory is too full for further caching."""
      current_process = psutil.Process(os.getpid())
      return (current_process.memory_percent() >
              config.MAXIMUM_CACHE_MEMORY_PERCENTAGE)