Bugs item #1186741, was opened at 2005-04-20 15:17
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1186741&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: 6.2.2
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Peter (peter26)
Assigned to: Nobody/Anonymous (nobody)
Summary: stack overflow when loading a big 

Initial Comment:
when loading a file with a very big list, ghci and ghc
give a stack overflow error (also when stack is
increase to 10M with the +RTS -K<size> option and stack
size is set to unlimited using ulimit -s unlimited in
linux). ghci also shows the error when loading the
file. it would be at least better to report that the
list is too big.


----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2005-09-13 09:43

Message:
Logged In: YES 
user_id=48280

We have fixed some performance problems that show up when
you compile very long lists.  We don't believe GHC is using
non-linear stack, but it is reasonable for GHC to use linear
stack space when compiling a long list - after all it is
just syntactic sugar for a deeply nested expression.

You should find that 6.4.1 is better than 6.4 in terms of
performance, but it might not use less stack.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1186741&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to