Hello Bruno,

Monday, March 31, 2008, 7:51:43 PM, you wrote:

> I've written the following program... Which does not end in a reasonable time 
> :(
> My algorithm seems ok to me but I see that memory consumption is gigantic...
> Is this a memory problem with Data.Map ? Or an infinite loop ? (Where ?)
> In a more general way, how can I troubleshoot these kind of problem ?

first step is to reduce n and see whether program will finish and how
memreqs depends on value of n

> main =
>     let n = 1000000


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to