Trying to understand why the code here:
http://moonpatio.com/fastcgi/hpaste.fcgi/view?id=8823#a8823  exhausts
memory.

I need to have timeouts in a program I'm writing that will run an
interactive polling session of some remote resources, and know when to give
up and handle that error. Unfortunately this code dies pretty quickly and
produces an -hc  graph like the one attached.

It seems that System.Timeout can't be used for this.  I should note that if
the code is changed to use an inifnite timeout (-1) that this problem
doesn't occur. Is this a bug in System.Timeout, or is there something I
should be doing to keep the data size down?

Dave

Attachment: timeouttest.ps
Description: PostScript document

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to