[Haskell-cafe] How to check for memory leak.

zbo ed_duh at hotmail.com
Sun Feb 12 04:09:54 EST 2006

I was using the code from 


It seems to be losing a few Kbytes every call (i use 'top' on linux to check the
RES field value). 

I dont know whether this is a memory leak or just the GC not collecting yet. 
I was just wondering What is the general method to check this.

BTW, I have tried using -prof and -P, but not really able to see anything


More information about the Haskell-Cafe mailing list