Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-34079

_test binaries take 76GB of disk space

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.6.3
    • None
    • Build
    • None
    • ALL
    • Hide

      $ du --si -s build/opt/mongo/
      87G build/opt/mongo/

      Show
      $ du --si -s build/opt/mongo/ 87G build/opt/mongo/

    Description

      Ubuntu builders by default are provisioned with 60GB of disk space, and that sizing manages to build all packages, including toolchains/web-browsers/etc.

      It is not large enough to build mongodb 3.6.3. Building locally, I can see that linked _test binaries are huge in size. e.g. starting from 31MB all the way, up to 825M for e.g. ./mongo/s/catalog/config_server_catalog_test.

      Have they always been this large? Or has something regressed recently to make them these big? A stripped mongod from this build is only 31MB.

      It looks like all the _test binaries have debug symbols attached. So I will try to investigate if I can make the _test binaries to be linked/compiled without debug symbols, to save on the build time disk space.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xnox Dimitri John Ledkov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: