Call malloc_trim after loading images
Not sure this is the best place to do it, but at least it is one place where we tend to do large, temporary allocations.
Not sure this is the best place to do it, but at least it is one place where we tend to do large, temporary allocations.