I have query that has a lot of joins as well as fields in the query grid. Which one is more memory consumption ? I am trying to optimize my query.

Thanks