Cognitive load is what matters
zakirullin.md
zakirullin.md
The key observation here is that the mind is very, very flexible and adaptable to assimilating new information and working with abstractions. So when you feel like you're at the edge of your working memory when solving a problem, then maybe it's time to take a step back and find ways to simplify or abstract those pieces into a larger concept that can fit more easily into one "slot". Instead of remembering 6 pieces of information, it might be easier to learn a particular pattern, load that into "Slot 1", and use "Slot 2" to keep track of the particular ways the code you're looking at deviates from the standard pattern.
It's also interesting to note that these "slots" aren't really fixed in size, nor are they even comparable between people. Some people have way better abilities to cram a huge amount of mathematical information per slot, while others are very good at people interactions and assimilating all their observations. Finally, all of this can be trained - just because you're bad at one skill, doesn't mean you will always remain bad (yes, even outside the "critical learning period")