[GHC] #10877: x86_64: dll-split: out of memory (requested 1099512676352 bytes)

GHC ghc-devs at haskell.org
Fri Oct 30 23:06:20 UTC 2015


#10877: x86_64: dll-split: out of memory (requested 1099512676352 bytes)
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Building GHC      |  (amd64)
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10682            |  Differential Rev(s):  Phab:D1405
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"f5974c88451783d4c1fb69444b10d7053be142bf/ghc"
 f5974c88/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f5974c88451783d4c1fb69444b10d7053be142bf"
 rts: Make MBLOCK_SPACE_SIZE dynamic

 Previously this was introduced in D524 as a compile-time constant.
 Sadly, this isn't flexible enough to allow for environments where
 ulimits restrict the maximum address space size (see, for instance,

 Consequently, we are forced to make this dynamic. In principle this
 shouldn't be so terrible as we can place both the beginning and end
 addresses within the same cache line, likely incurring only one or so
 additional instruction in HEAP_ALLOCED.

 Test Plan: validate

 Reviewers: austin, simonmar

 Reviewed By: simonmar

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D1353

 GHC Trac Issues: #10877
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10877#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list