You can't clear the RAM memory of mobile phones. When you receive an error related to memory full it means that you have too many applications open and you need to close them down. Also memory full is encountered when there is not enough space left on the storage. This can be solved by uninstalling unnecessary applications or deleting content.