Fig. 6 Memory usage w.r.t. change of min_in_gain.