I usually use this tool: http://www.mysqlcalculator.com/
It's not perfect by any means but gives you a pretty good idea
- 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.