docs: def human_to_bytes(self, human):
          """Convert human readable configuration options to bytes."""
          num_re = re.compile('^[0-9]+$')
          if num_re.match(human):
              return human
  
          factors = {
              'K': 1024,
              'M': 1048576,
              'G': 1073741824,
              'T': 1099511627776
          }
          modifier = human[-1]
          if modifier in factors:
              return int(human[:-1]) * factors[modifier]
  
          if modifier == '%':
              total_ram = self.human_to_bytes(self.get_mem_total())
              if self.is_32bit_system() and total_ram > self.sys_mem_limit():
                  total_ram = self.sys_mem_limit()
              factor = int(human[:-1]) * 0.01
              pctram = total_ram * factor
              return int(pctram - (pctram % self.DEFAULT_PAGE_SIZE))
  
          raise ValueError("Can only convert K,M,G, or T")