You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/11/12 14:25:52 UTC

[GitHub] [incubator-kvrocks] segment11 created a discussion: docker bin/kvrocks 354M too large?

GitHub user segment11 created a discussion: docker bin/kvrocks 354M too large?

-rwxr-xr-x. 1 root root 354M Nov 10 17:33 kvrocks*

Hi,is it normal?

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Hi @segment11 , thanks for your question!

In order to be able to debug easier, we keep all the debug information in the binary, which makes the binary larger (~ several hundred MiB).

I do not think it is a big deal, since the hard drives nowadays are huge in capacity. :rofl:

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123842

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice added a comment to the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: docker bin/kvrocks 354M too large?

But of cause, if you want a small binary, you can build kvrocks by your own, and pass `-DCMAKE_BUILD_TYPE=Release` to it, e.g.
```sh
./x.py build -DCMAKE_BUILD_TYPE=Release
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123864

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

But of course, if you want a small binary (maybe several ten MiB), you can build kvrocks by your own, and pass `-DCMAKE_BUILD_TYPE=Release` to it, e.g.
```sh
./x.py build -DCMAKE_BUILD_TYPE=Release
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123864

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

But of cause, if you want a small binary (maybe several ten MiB), you can build kvrocks by your own, and pass `-DCMAKE_BUILD_TYPE=Release` to it, e.g.
```sh
./x.py build -DCMAKE_BUILD_TYPE=Release
```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123864

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] segment11 added a comment to the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user segment11 added a comment to the discussion: docker bin/kvrocks 354M too large?

Thanks a lot

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123904

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice edited a comment on the discussion: docker bin/kvrocks 354M too large?

Hi @segment11 , thanks for your question!

In order to be able to debug better, we keep all the debug information in the binary, which makes the binary larger (~ several hundred MiB).

I do not think it is a big deal, since the hard drives nowadays are huge in capacity. :rofl:

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123842

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] PragmaTwice added a comment to the discussion: docker bin/kvrocks 354M too large?

Posted by GitBox <gi...@apache.org>.
GitHub user PragmaTwice added a comment to the discussion: docker bin/kvrocks 354M too large?

Hi @segment11 , thanks for your question!

In order to be able to debug better, we keep all the debug information in the binary, which makes the binary larger (~ several hundred MiB).

I do not think it is a big deal, since the hard drives nowadays are huge in capacity.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1089#discussioncomment-4123842

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org