manlio_perillo:
> Hi.
>
> In the "help optimizing memory usage for a program" I discovered some  
> interesting things:
>
>
> 2) UArr from uvector leaks memory.
>    I'm rather sure about this.

Note it was just allocating more than was required, it wasn't "leaking"
it in any sense (i.e. losing track of the memory). 

> Using this version memory usage is, finally, 643 MB!
> (and execution if a bit faster, too).
 
Yep, known bug, and closed last month.
 
> The other program, with a lot of array concatenations, still eats a lot  
> of memory...

Concatenating arrays generally copies data. Which uses memory.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to