Open
Description
respond_file
reads the file in 16 KB chunks using Lwt_io.read
. This allocates lots of 16 KB strings that go directly to the major heap and become garbage right away, and is bound to trigger major collection fests. See ocsigen/ocsigenserver#49 for an example of what can happen in a similar case...