[GHC] #10682: AArch64: dll-split: out of memory (requested 1099512676352 bytes)
GHC
ghc-devs at haskell.org
Fri Aug 28 16:51:40 UTC 2015
#10682: AArch64: dll-split: out of memory (requested 1099512676352 bytes)
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: aarch64
Type of failure: Building GHC | Test Case:
failed |
Blocked By: | Blocking:
Related Tickets: | Differential Revisions: Phab:D1171
-------------------------------------+-------------------------------------
Comment (by Erik de Castro Lopo <erikd@…>):
In [changeset:"38c98e4f61a48084995a5347d76ddd024ce1a09c/ghc" 38c98e4/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="38c98e4f61a48084995a5347d76ddd024ce1a09c"
RTS: Reduce MBLOCK_SPACE_SIZE on AArch64
Commit 0d1a8d09f4 added a two step allocator for 64 bit systems. This
allocator mmaps a huge (1 TB) chunk of memory out of which it does
smaller allocations. On AArch64/Arm64 linux, this mmap was failing
due to the Arm64 Linux kernel parameter CONFIG_ARM64_VA_BITS
defaulting to 39 bits.
Therefore reducing the AArch64 value for MBLOCK_SPACE_SIZE to make
this allocation 1/4 TB while remaining 1 TB for other archs.
Reviewers: ezyang, austin, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1171
GHC Trac Issues: #10682
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10682#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list