Poor sleep can also affect your short-term memory. When you are tired, you may feel like your thoughts are always escaping you, and you might have difficulty recalling details from a few minutes before.