def get_total_memory():
memory_status = MEMORYSTATUSEX()
memory_status.dwLength = ctypes.sizeof(MEMORYSTATUSEX)
ctypes.windll.kernel32.GlobalMemoryStatusEx(ctypes.byref(memory_status))
total_memory = memory_status.ullTotalPhys
print(f"RAM: {total_memory / (1024**3):.2f} GB")
print(f"RAM: {total_memory / (1024**2):.2f} MB")
return total_memory