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

Why the binary file I compiled is so large

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.0.5
    • None
    • None

    Description

      I compiled with "scons -j 8 mongo mongos mongod", then got the file is so large(mongodb 3.0.5):
      -rwxr-xr-x 1 root root 156409888 Aug 1 18:55 mongo
      -rwxr-xr-x 1 root root 413742161 Aug 1 19:04 mongod
      -rwxr-xr-x 1 root root 182125590 Aug 1 19:03 mongos

      but I download from mongodb.org is(mongodb 3.0.5):
      rw-rr- 1 root root 11241856 Jul 28 01:43 mongo
      rw-rr- 1 root root 21507296 Jul 28 01:43 mongod
      rw-rr- 1 root root 10200704 Jul 28 01:43 mongos

      Which option should I choose?
      thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            rujun rujun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: