Opened 2 years ago

Closed 2 years ago

#10500 closed bug (fixed)

GHC runs out of memory building unicode-properties

Reported by: dsf Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.10.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

Building package https://hackage.haskell.org/package/unicode-properties uses extraordinary amounts of memory with recent compilers - it dies on my 16GB desktop, though the travis build does eventually complete (see it here: https://travis-ci.org/seereason/unicode-properties/builds/65815442.) I have imported the repo to github and untabified it here: https://github.com/seereason/unicode-properties. Building this package was somewhat slow but did complete under ghc-7.8.3.

Change History (3)

comment:1 Changed 2 years ago by dsf

I committed a patch that passes -O0 to one of the modules. This avoids the crash.

comment:2 Changed 2 years ago by dsf

This may only affect 7.10.1 and not 7.10.2 - I can't really test that yet.

comment:3 Changed 2 years ago by rwbarton

Resolution: fixed
Status: newclosed

Reproduced in 7.10.1 but not latest ghc-7.10 branch, so declaring already fixed, hooray!

Note: See TracTickets for help on using tickets.