| 80 | | ftp://ftp.cse.unsw.edu.au/pub/users/dons/hs-plugins/snapshots/ |
| | 87 | GHC 6.4 has a garbage collector bug on x86_64 (64 bit Athlon) machines. |
| | 88 | Until GHC 6.4.1 is released, users on x86_64 may see crashes complaining |
| | 89 | of "strange objects". A partial workaround is to avoid GC by requesting |
| | 90 | a large heap, using either command line arguments: |
| | 91 | |
| | 92 | ./pugs +RTS -A200M -RTS |
| | 93 | |
| | 94 | or an environment variable: |
| | 95 | |
| | 96 | GHCRTS='-A200M' |
| | 97 | |
| | 98 | These request a 200 MB heap, which is sufficient to run most programs. |
| | 99 | |
| | 100 | Running all tests unfortunately requires a lot more memory (perhaps 1000M). |
| | 101 | A possible alternative, which someone could explore and report on, would be to |
| | 102 | try using a 32-bit GHC instead. |
| 107 | | |
| 108 | | |
| 109 | | |
| 110 | | x86_64 ONLY -- There is a problem on x86_64 (64 bit Athlon) machines. |
| 111 | | GHC 6.4.0 has a garbage collector bug. Until GHC 6.4.1 is released, |
| 112 | | users on x86_64 may see crashes complaining of "strange object"s. |
| 113 | | A partial workaround is to avoid gc by requesting a large heap. |
| 114 | | Use either command line arguments |
| 115 | | ./pugs +RTS -A200M -RTS |
| 116 | | or an environment variable |
| 117 | | GHCRTS='-A200M' |
| 118 | | These request a 200 MB heap, which is sufficient to run most tests. Eg, |
| 119 | | GHCRTS='-A200M' make test |
| 120 | | Running all tests unfortunately requires a lot more memory (perhaps 1000M). |
| 121 | | A possible alternative, which someone could explore and report on, would |
| 122 | | be to try using a 32big ghc. |