On r2016b:
Maximum possible array: 23268 MB (2.440e+10 bytes) *
Memory available for all arrays: 23268 MB (2.440e+10 bytes) *
Memory used by MATLAB: 1105 MB (1.158e+09 bytes)
Physical Memory (RAM): 32474 MB (3.405e+10 bytes)
On r2021b:
Maximum possible array: 21861 MB (2.292e+10 bytes) *
Memory available for all arrays: 21861 MB (2.292e+10 bytes) *
Memory used by MATLAB: 2693 MB (2.824e+09 bytes)
Physical Memory (RAM): 32474 MB (3.405e+10 bytes)
1.01 GB vs 2.69 GB just after starting Matlab
Is this normal? I just installed r2021b and I wasn't expecting this. I can see plots also use a lot more memory (and are much slower when they have sufficiently many data points, e.g. an 8000 point plot, trying to use the data inspector takes several seconds to get or more the crosshairs by one datapoint, whereas in r2016b the same plot is snappy, real-time, milliseconds).