[ET Trac] #2354: consider using malloc_trim after regrid to return memory to the OS