envoy icon indicating copy to clipboard operation
envoy copied to clipboard

Why compiled envoy occupy much hard disk

Open skywli opened this issue 7 years ago • 1 comments

I spend about 5 hour compile binary and test envoy,then I look at the hard disk usage. this is the result: Filesystem Size Used Avail Use% Mounted on /dev/sda 79G 70G 4.8G 94% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 8.5M 1.9G 1% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 379M 0 379M 0% /run/user/0

I bought a vps today,so 70G is used by envoy almost. Some advices that compile don't spend so much time and use so much storage can give me.

skywli avatar Apr 04 '19 19:04 skywli

If you run: ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release ',test code will be compiled and be tested,so compile will take about 5 hour and 70G will be used.. Howerev using this compile option './ci/run_envoy_docker.sh './ci/do_ci.sh bazel.debug.server_only' ,1 hour is taken and 5G is used.

skywli avatar Apr 05 '19 05:04 skywli