Memory (RAM) or storage? They're not the same thing.
If memory is too low, something is wrong, because no one is writing 4GB apps (or even 2GB apps). If storage is too low then, as has been said, remove files and uninstall apps. You can't fill a bottle, then add more to it, you have to pour some out first.