Ram Source Utility function to get RAM size. get_ram_size() Get RAM size in mbytes. Returns: int – RAM size in mbytes.