[Bug 861296] Re: mmap fails to allocate 2030Mb heap on ARM

Xerxes Rånby xerxes at zafena.se
Wed Sep 28 13:42:28 UTC 2011


updated testcase that try to allocate the memory rande using multiple
smaller memory slices.

For example my ac100 fails to allocate 2010mb using 30*67Mb slices.

** Attachment added: "mmap-test-slices.c testcase"
   https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/861296/+attachment/2474427/+files/mmap-test-slices.c

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/861296

Title:
  mmap fails to allocate 2030Mb heap on ARM

Status in Linaro Toolchain Miscellanies:
  New
Status in “eglibc” package in Ubuntu:
  New

Bug description:
  The attached testcase pass on ia32 but fails on armel systems running oneiric.
  test system got 512mb of ram and 3Gb of swap.

  gcc mmap-test.c -o mmap-test
  ./mmap-test

  on my pandaboard I hit Couldn't allocate the heap: 2025Mb
  on my ac100 I hit Couldn't allocate the heap: 2027Mb

  The testcase fails to allocate heap on armel in the range of
  2023-2030Mb and above.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-toolchain-misc/+bug/861296/+subscriptions




More information about the foundations-bugs mailing list