[Haskell-cafe] Re: announce: Glome.hs-0.3 (Haskell raytracer)

Simon Marlow simonmarhaskell at gmail.com
Wed Apr 23 19:25:10 EDT 2008


Bryan O'Sullivan wrote:
> Jim Snow wrote:
> 
>> The concurrency bug has to do with excessive memory use, and was
>> discussed earlier here on the mailing list (search for Glome).
>> http://hackage.haskell.org/trac/ghc/ticket/2185
> 
> Interesting.  I looked at your test case.  I can reproduce your problem
> when I build with the threaded runtime and run with a single core, but
> not if I use +RTS -N2.  Did you overlook the possibility that you may
> not have told GHC how many cores to use?

There's definitely a bug here, regardless of whether this example 
demonstrates it.  Use of par shouldn't introduce a space leak, and 
currently it can.

(fortunately I'm fixing it as we speak...)

Cheers,
	Simon



More information about the Haskell-Cafe mailing list