[GHC] #14492: Tiered memory allocation restricts available memory
GHC
ghc-devs at haskell.org
Thu May 31 10:58:00 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):
PS: On your patch above if I use:
{{{
#!diff
- printf("%s: cur: %d\n", name, lim.rlim_cur);
- printf("%s: max: %d\n", name, lim.rlim_max);
+ printf("%s: cur: %lu\n", name, lim.rlim_cur);
+ printf("%s: max: %lu\n", name, lim.rlim_max);
}}}
I get correct values from the test program, both for AS and RSS.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14492#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list