[Haskell-cafe] HTTP client libraries

John Goerzen jgoerzen at complete.org
Thu Mar 27 20:47:20 EDT 2008


On Thursday 27 March 2008 04:38:21 pm Paul Brown wrote:
> On Thu, Mar 27, 2008 at 12:08 PM, John Goerzen <jgoerzen at complete.org> 
wrote:
> >  * Bjorn's String-based HTTP
> >   It eats RAM.  Does not appear to read data lazily, returns a String,
> >   and may have a memory leak as well.  Does not appear to be suited
> >   for anything except very small file downloads.
>
> Do you know why it's eating RAM?  With the issue with open sockets

It appears to be insufficient laziness.  You'll probably never notice it 
because you're only downloading small files.  Trying to download a 20MB file 
resulted in 500MB RAM usage for me before I killed it.

-- John


More information about the Haskell-Cafe mailing list