Phoenix json API extremely slow when serving CSV files

I really doubt the memory is the issue here given it worked with loading all data into memory for the CSV backed implementation.