Compiling large source files

Jules Bean jules at jellybean.co.uk
Fri Aug 7 03:51:21 EDT 2009


Gunther should first check if he thinks this is the same issue as

http://hackage.haskell.org/trac/ghc/ticket/2002

(looks similar to me)

If it is, he could just add comments there.

Simon Peyton-Jones wrote:
> Gunther
> 
> Could you make a Trac bug report for this, and attach your source file?
> 
> It'd help if you could first check that things are still bad with GHC 6.10.4.
> 
> Another useful thing would be to provide data on whether the behaviour is non-linear.  Eg try with 1k, 2k, 4k, 8k, etc elements in your list and see how it behaves.
> 
> Providing reproducible and well-characterised bug reports greatly increases the likelihood that we'll fix it! 
> 
> Thanks
> 
> Simon
> 
> 
> | -----Original Message-----
> | From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-
> | bounces at haskell.org] On Behalf Of Günther Schmidt
> | Sent: 03 August 2009 22:09
> | To: Thomas DuBuisson
> | Cc: glasgow-haskell-users at haskell.org
> | Subject: Re: Compiling large source files
> | 
> | Hi Thomas,
> | 
> | yes, a source file with a single literal list with 85k elements.
> | 
> | 
> | Günther
> | 
> | 
> | Am 03.08.2009, 22:20 Uhr, schrieb Thomas DuBuisson
> | <thomas.dubuisson at gmail.com>:
> | 
> | > Can you define "very large" and "compiler"?  I know an old version of
> | > GHC (6.6?) would eat lots of memory when there were absurd numbers of
> | > let statements.
> | >
> | > Thomas
> | >
> | > 2009/8/3 Günther Schmidt <redcom at fedoms.com>:
> | >> Hi all,
> | >>
> | >> I'm having trouble compiling very large source files, the compiler eats
> | >> 2GB
> | >> and then dies. Is there a way around it?
> | >>
> | >> Günther
> | >> _______________________________________________
> | >> Glasgow-haskell-users mailing list
> | >> Glasgow-haskell-users at haskell.org
> | >> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> | >>
> | 
> | 
> | _______________________________________________
> | Glasgow-haskell-users mailing list
> | Glasgow-haskell-users at haskell.org
> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list