MySQL server memory usage troubleshooting tips
mysqlperformanceblog.com
mysqlperformanceblog.com
That isn't to say it's a substitute for full troubleshooting, but as a first step, using a different malloc routine can sometimes help quite a bit!
- the query cache is now off by default (but 1M)
- innodb_additional_mem_pool_size no longer applies.
- some of the per-session variables can actually allocate more than once (or not at all).
- There is fixed memory allocated for performance_schema per thread.