Group processes by apps in Activity Monitor under Memory tab

Solution 1:

I know this is old, but this feature does exist: Go to Activity Monitor, click "View" (at the top) and select "All Processes, Hierarchically".

group processes Hierarchically

Hope this helps someone!