Regarding memory, I have made a habit of assuming I have a faulty memory, and trying to write down anything I think I may want to remember in the future using a wiki style tool that supports back linking. The tool I use is Org Roam in Emacs, but there are lots of options. I have found that by doing this, I have offloaded a lot onto my computer, and made space in my mind to remember a lot of new things.
Contrary to the other comments saying to carry a pocket computer: my brain. Hence the improved memory. I offload my thoughts into my notes when I can. If it wasn't important enough to remember until I can find a seat at my desk, it wasn't important enough to write a note on.