WL#7794: PERFORMANCE SCHEMA, SCALABLE MEMORY ALLOCATION

Affects: Server-5.7   —   Status: Complete

Currently the performance schema:
- allocates all the memory it needs up front
- requires the user to configure how much memory to use
- consumes all memory allocated but does not use all of it, when the server load
is low.

This task is to relax the memory constraints:
- to increase ease of use, with less configuration
- to decrease the memory footprint, scaling the memory consumption with the
server actual load.