This function (https://github.com/Unidata/thredds/blob/v5.0.0-beta6/tds/src/main/java/thredds/servlet/filter/TdsServletResponseWrapper.java#L76) uses an int to set the content size of the HTTP response which later gets logged in "Request Completed" log entries in threddsServlet.log. My understanding is that for this reason the logs will only be able to report response sizes up to 2 GB (2^31). Let me know if I am misunderstanding something here.