[SERVER-19717] Why the binary file I compiled is so large Created: 03/Aug/15 Updated: 04/Aug/15 Resolved: 04/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.0.5 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Minor - P4 |
| Reporter: | rujun | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
I compiled with "scons -j 8 mongo mongos mongod", then got the file is so large(mongodb 3.0.5): but I download from mongodb.org is(mongodb 3.0.5): Which option should I choose? |
| Comments |
| Comment by Ramon Fernandez Marina [ 04/Aug/15 ] |
|
rujun, the file you compiled has debugging information, but the one you download doesn't. You can use strip(1) to remove debugging information from binariles. Please note that the SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. Regards, |