I think the GAIA_MEMORY_PROFILE=low build changes need to go in this file.  We need to change the default value max image size from 5 megapixels to 2 megapixels if that environment variable is set.  In 1.3T that was done in gaia/build/ and now it is done in app-specific scripts like this one.