UpdateObject takes a long time

UpdateObject takes minutes to complete on server, then returns about 100 MB of data to the client whic then fails to render. The rendering does not end.

This happens on a master-detail screen with about 20000 details belonging to a single master row.