Added RAM check for overrideRAM