[Haskell-cafe] possible memory leak in uvector

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Mar 3 09:53:47 EST 2009

Hello Manlio,

Tuesday, March 3, 2009, 5:35:33 PM, you wrote:

> There are 100,000,000 ratings, so I create 100,000,000 arrays containing
> only one element.

every array needs ~30 bytes - it's a minimal memory block ghc can
alloc for variable-sized objects. multiple this by 3 to account for
copying GC behavior

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list