Why the binary file I compiled is so large

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.0.5
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved: