[Haskell-cafe] idlelog

Donald Bruce Stewart dons at cse.unsw.edu.au
Sat May 19 22:55:44 EDT 2007


lpenz:
> 
> Hi
> 
> I made a program that detects user presence in a linux box by checking 
> for keyboard interruptions in /proc/interrupts.
> 
> Problem is, it is supposed to run for a long time, and it keeps about 
> 40MB for itself.
> 
> Yeah, this is one more "help me with this memory problem" mails...
> 
> The code can be found in http://hpaste.org/1907, and in "darcs get 
> http://lpenz.50webs.com/idlelog
> 
> I guess I'm having some conceptual problem.

I'd seriously consider using Data.ByteString instead of [Char] string 
for your IO.

-- Don


More information about the Haskell-Cafe mailing list