1. Is the app breaking or failing or not serving its purpose in any way? First find the problem, then look for the causes.
2. Let's say your app is using 29G of the memory in a 32GB instance. If you put it in a 64GB instance, will it use 29GB of that, 63GB of that, or does it continue to grow until it runs out of memory and restarts? The first case means you have correctly sized your instance. The second case means the app is good about using almost but not quite all the memory available. The third case is a problem.
Memory, however is seldom the bottleneck. This is because most apps are not designed to queue requests if they don't fit in the available memory - they just allocate until they fail.
So, unless your apps are designed to queue requests in order to fit them into memory, this principle is probably not the explanation for the high memory usage.
https://en.wikipedia.org/wiki/Hell%27s_Angels:_The_Strange_a...
Myself, I can barely ride a simple bicycle more than about two hundred feet without somehow dislodging myself in a manner with roughly equal parts comedy and tragedy, but the way he wrote that and described the attraction of an edge where on one side laid a perfect moment-to-moment mastery of all of the physics in racing and the appeal of having absolutely nothing else matter at the moment because you simply haven't the space in your brain to do anything else ... and the other side, which involves multiple surgeries, rehab, and long phone calls with insurance companies, it was very appealing. "One of my finest addictions" indeed.
- Not are limits are made equal. Some are okay to be approached from both sides, while others will make you crash very quickly. Racing is a lot about finding and feeling those limits, rather than just knowing that they exist and need to be applied.
- Changing gear, breaking, and applying gas all are physical actions that need some dexterity, to quickly switch between those within fractions of a second is sometimes infeasible. So racers end up just coasting for a short moment to avoid the high risk of a mistake for just a tiny gain.
- Throttle and breaks obviously can't always be fully applied depending on friction, or the danger of one of the wheels getting too much air.
- In a race there is a legit trade-off between lap times and tire wear. Losing too much material early-on will gain you some time initially, but make you lose more towards the end.
If ever there were a statement more universally applicable, I've not encountered it. :)
Racing is, of course, about finishing the race (or maybe the season) first (along with all of additional considerations that implies), not just lapping fast.