win32&ghc: using more than 2gb of memory

Simon Peyton-Jones simonpj at microsoft.com
Mon Dec 3 03:56:26 EST 2007


GHC definitely does not assume that the top bit is of an address is clear. But I don't know that anyone has explicitly tested it on a 3Gb program.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of
| Bulat Ziganshin
| Sent: 02 December 2007 14:12
| To: glasgow-haskell-users at haskell.org
| Subject: win32&ghc: using more than 2gb of memory
|
| Hello
|
| is it possible to use more than 2gb of memory for win32 ghc-compiled
| programs? does anyone checked this? i've found that the following
| switch should be added to cmdline:
|
| ghc ...  -optl --large-address-aware
|
| but can't check compiled executable
|
| if this question was never considered, here is some possible problems
| which may arise:
| http://blogs.msdn.com/oldnewthing/archive/2004/08/12/213468.aspx
|
| --
| Best regards,
|  Bulat                          mailto:Bulat.Ziganshin at gmail.com
|
| _______________________________________________
| 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