[Haskell] Realistic max size of GHC heap

Simon Marlow simonmar at microsoft.com
Thu Sep 15 11:09:52 EDT 2005

On 15 September 2005 14:48, S. Alexander Jacobson wrote:

> Should one interpret this as GHC now targets 64-bit systems or does
> one need to employ some sort of clevernesss to use this much memory?
> (I posted this question a while ago and was told that GHC did not at
> that time support 64-bit so could not use that much memory)

GHC has supported 64 bit systems for quite some time, eg. we have had
Alpha support for many years.  Recently we've added amd64 support, which
will be fully supported in the upcoming 6.4.1 release.  Perhaps you're
thinking of nhc98 - if I recall correctly it isn't ported to 64 bit yet.

> On a related note, does GHC now distribute IO threads over multiple
> CPUs or is it still a 1 CPU system?

GHC has distributed IO threads over multiple CPUs for quite some time
:-)  You need to use the -threaded option when compiling your program.


More information about the Haskell mailing list