[Haskell-cafe] UArray Word16 Word32 uses twice as much memory as it should?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Nov 19 12:02:09 EST 2008


Hello Arne,

Wednesday, November 19, 2008, 11:57:01 AM, you wrote:

> finding that it uses about twice as much memory as I had anticipated.

it may be
1) GC problem (due to GC haskell programs occupies 2-3x more memory
than actually used)

2) additional data (you not said how long each small array. you should
expect 10-30 additional bytes used for every array)



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



More information about the Haskell-Cafe mailing list