[GHC] #14492: Tiered memory allocation restricts available memory

GHC ghc-devs at haskell.org
Thu May 31 10:45:10 UTC 2018


#14492: Tiered memory allocation restricts available memory
-------------------------------------+-------------------------------------
        Reporter:  unode             |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        Priority:  high              |            Milestone:  8.6.1
       Component:  Runtime System    |              Version:  8.0.2
      Resolution:                    |             Keywords:  memory ulimit
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Poor/confusing    |  (amd64)
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4215
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by unode):

 bgamari thanks for the fix.

 There's also the 1TB maximum reservation that luispedro mentioned on
 comment:4 which seems to be set on
 https://git.haskell.org/ghc.git/blob/730781b42a003604cfa047a02280757a07b09581:/rts/sm/MBlock.c#l663

 Implementing the probing solution you proposed on comment:8 would also
 address the 1TB limit.\\
 Did you manage to get anywhere with that approach?

 Thanks again.

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


More information about the ghc-tickets mailing list