On Sat, Aug 21, 1999 at 11:59:25 +0000, Marcin 'Qrczak' Kowalczyk wrote:
> import FiniteMap
> main = print . fmToList . listToFM $ [(i,0) | i <- [1..30000]]
> 
> This program simply segfaults. With less than 20000 elements it works.
> With ghc-4.02 it works.

*hmm* this works with ghc-4.04 of 1999/08/03 on Linux, but I had to increase
stack size, i.e.
        ./fmtest +RTS -K2M

Also, I have a project that generates big finite maps (50000+ elements, ~30M
mem) and had never problems with that (on Solaris and Linux)...


Cheers,
Michael
-- 
Those who open their minds too far often let their brains fall out.
Those who open their minds too far often let their brains fall out.
Those who open their minds too far often let their braGeneral Protection Fault
in msborg32.dll.

Reply via email to