return Conversions.bytesToPages((int) totalMemory());
return totalMemory().toWord().rshl(LOG_BYTES_IN_PAGE).toInt();
  public static int getTotalPages() throws UninterruptiblePragma {     return Conversions.bytesToPages((int) totalMemory());   }