Compiling large source files

Simon Marlow marlowsd at gmail.com
Tue Aug 4 04:12:37 EDT 2009


I suggest not using Haskell for your list.  Put the data in a file and 
read it at runtime, or put it in a static C array and link it in.

Cheers,
	Simon

On 03/08/2009 22:09, Günther Schmidt wrote:
> 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



More information about the Glasgow-haskell-users mailing list