[Haskell-cafe] Parallel weirdness [new insights]

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Apr 20 15:54:02 EDT 2008


On Apr 20, 2008, at 15:51 , Brandon S. Allbery KF8NH wrote:
> On Apr 20, 2008, at 15:41 , Andrew Coppin wrote:
>> 3. Is there any way for a running Haskell program to find out how  
>> much heap space is currently allocated / used / free? I know you  
>> can find out how much wall time and CPU time you've used, but I  
>> couldn't find anything for RAM usage.
>
> You're looking for "heap profiling" in the GHC manual.

Wait, no, I misread.  I don't know if or how a running program could  
introspect its own heap usage.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list