summaryrefslogtreecommitdiff
path: root/doc/forum/recent_propellor_snapshots_cause_ghc_OOMs/comment_1_0e46ad1844c37a65c532cafe81fd883a._comment
blob: be42b0df4941f66a3eb183f15c56371fe1eafe9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2016-05-10T16:07:39Z"
 content="""
The enhanced property types in propellor 3.0 are known to have made ghc use
more memory when building it. Building with -O0 helped a lot for me, and
it's doing ok on a 500 mb memory machine. So I recommend -O0 in your cabal
file if you don't have that already.

I wrote down my memory benchmarks here:
<http://source.propellor.branchable.com/?p=source.git;a=commit;h=af7b2d61c0c7f9b4fe53d8f5d18b5426a93cbd7b>
"""]]