total and free ram can be fetched with lib.getRAM and lib.getFreeRAM