[GHC] #14193: Add RTS flag to disable 1TB address space allocation

GHC ghc-devs at haskell.org
Fri Jan 18 16:01:36 UTC 2019


#14193: Add RTS flag to disable 1TB address space allocation
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9706, #14192     |  Differential Rev(s):  Phab:D3929
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 I'm really not sure what to do about this. If OpenShift is really killing
 processes based on their virtual memory reservation size then this really
 seems like a bug in OpenShift. Can you describe how in particular the
 process is being killed? Is it really the kernel OOM killer? Is it a
 cgroup memory limit?

 I have found possibly relevant
 [[https://developers.redhat.com/blog/2017/03/14/java-inside-
 docker/|article]] about Docker and the JVM which suggests it may be the
 latter. The JVM apparently has the (experimental) ability to query the
 memory limits of its containing cgroup. We could do the same if this is
 really the issue.

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


More information about the ghc-tickets mailing list