Setting total memory makes it smaller and (on Firefox) much faster.