`FATAL ERROR: Out of memory` when launching mongod

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Declined
    • Priority: Blocker - P1
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • ALL
    • None
    • 0
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm trying to run MongoDB on a FriendlyElec CM3588.  It's running Ubuntu 24.04 Aarch64 using the image from [here](https://wiki.friendlyelec.com/wiki/index.php/CM3588#Official_image), with FriendlyElec's custom 6.1 kernel build from [here](https://github.com/friendlyarm/kernel-rockchip).

      When I launch MongoDB 8, it immediately fails as follows:

      ```

      $ mongodb-linux-aarch64-ubuntu2404-8.0.11/bin/mongod
      162113 src/third_party/tcmalloc/dist/tcmalloc/system-alloc.cc:755] MmapAligned() failed - unable to allocate with tag (hint=0xf8ac0000000, size=1073741824, alignment=1073741824) - is something limiting address placement?
      162113 src/third_party/tcmalloc/dist/tcmalloc/arena.cc:48] CHECK in Alloc: FATAL ERROR: Out of memory trying to allocate internal tcmalloc data (bytes=131072, object-size=640); is something preventing mmap from succeeding (sandbox, VSS limitations)?
      Aborted

      ```

      (This is a brand-new download.  No configuration, straight from the tarball.)

      MongoDB 7, however, works without issue.  So this seems to be related to a change in MongoDB 8.

              Assignee:
              Jeffrey Ho
              Reporter:
              Adam Seering
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: