empiredan opened a new issue, #1497:
URL: https://github.com/apache/incubator-pegasus/issues/1497

   Previously `Build Release` and `Build with jemalloc` failed due to running 
out of disk space (see 
https://github.com/apache/incubator-pegasus/issues/1485). Recently, `Build 
ASAN` also failed due to the same reason:
   
   
![image](https://github.com/apache/incubator-pegasus/assets/743379/7ef98720-74fc-46e0-a28e-4a45e37f4292)
   
   This means we have to spare more space. And actually `CMakeFiles` occupied 
much disk space. By running `find ./build/latest/src/ -name '*CMakeFiles*' 
-type d -exec du -csh "{}" +` we found that typically it could consume 3.4GB:
   ```
   8.0K ./build/latest/src/CMakeFiles
   25M  ./build/latest/src/aio/CMakeFiles
   9.4M ./build/latest/src/aio/test/CMakeFiles
   19M  ./build/latest/src/base/CMakeFiles
   3.6M ./build/latest/src/base/test/CMakeFiles
   9.4M ./build/latest/src/block_service/CMakeFiles
   9.1M ./build/latest/src/block_service/fds/CMakeFiles
   11M  ./build/latest/src/block_service/hdfs/CMakeFiles
   11M  ./build/latest/src/block_service/local/CMakeFiles
   35M  ./build/latest/src/block_service/test/CMakeFiles
   45M  ./build/latest/src/client/CMakeFiles
   6.9M ./build/latest/src/client/test/CMakeFiles
   29M  ./build/latest/src/client_lib/CMakeFiles
   80M  ./build/latest/src/common/CMakeFiles
   68M  ./build/latest/src/common/test/CMakeFiles
   16M  ./build/latest/src/failure_detector/CMakeFiles
   16M  ./build/latest/src/failure_detector/test/CMakeFiles
   8.0K ./build/latest/src/geo/CMakeFiles
   7.6M ./build/latest/src/geo/lib/CMakeFiles
   12M  ./build/latest/src/geo/test/CMakeFiles
   2.4M ./build/latest/src/geo/bench/CMakeFiles
   26M  ./build/latest/src/http/CMakeFiles
   11M  ./build/latest/src/http/test/CMakeFiles
   306M ./build/latest/src/meta/CMakeFiles
   294M ./build/latest/src/meta/test/CMakeFiles
   19M  ./build/latest/src/meta/test/balancer_simulator/CMakeFiles
   8.9M ./build/latest/src/meta/test/meta_state/CMakeFiles
   45M  ./build/latest/src/nfs/CMakeFiles
   6.9M ./build/latest/src/nfs/test/CMakeFiles
   17M  ./build/latest/src/perf_counter/CMakeFiles
   12M  ./build/latest/src/perf_counter/test/CMakeFiles
   8.0K ./build/latest/src/redis_protocol/CMakeFiles
   7.4M ./build/latest/src/redis_protocol/proxy/CMakeFiles
   17M  ./build/latest/src/redis_protocol/proxy_lib/CMakeFiles
   8.0M ./build/latest/src/redis_protocol/proxy_ut/CMakeFiles
   6.1M ./build/latest/src/remote_cmd/CMakeFiles
   411M ./build/latest/src/replica/CMakeFiles
   90M  ./build/latest/src/replica/duplication/test/CMakeFiles
   13M  ./build/latest/src/replica/backup/test/CMakeFiles
   14M  ./build/latest/src/replica/bulk_load/test/CMakeFiles
   15M  ./build/latest/src/replica/split/test/CMakeFiles
   8.0K ./build/latest/src/replica/storage/CMakeFiles
   22M  ./build/latest/src/replica/storage/simple_kv/CMakeFiles
   74M  ./build/latest/src/replica/storage/simple_kv/test/CMakeFiles
   123M ./build/latest/src/replica/test/CMakeFiles
   11M  ./build/latest/src/reporter/CMakeFiles
   113M ./build/latest/src/runtime/CMakeFiles
   131M ./build/latest/src/runtime/test/CMakeFiles
   78M  ./build/latest/src/runtime/rpc/CMakeFiles
   73M  ./build/latest/src/runtime/task/CMakeFiles
   57M  ./build/latest/src/runtime/security/CMakeFiles
   19M  ./build/latest/src/runtime/ranger/CMakeFiles
   344K ./build/latest/src/sample/CMakeFiles
   213M ./build/latest/src/server/CMakeFiles
   345M ./build/latest/src/server/test/CMakeFiles
   105M ./build/latest/src/shell/CMakeFiles
   2.9M ./build/latest/src/test_util/CMakeFiles
   4.6M ./build/latest/src/test/bench_test/CMakeFiles
   8.0K ./build/latest/src/test/function_test/CMakeFiles
   13M  ./build/latest/src/test/function_test/utils/CMakeFiles
   7.5M ./build/latest/src/test/function_test/backup_restore_test/CMakeFiles
   64M  ./build/latest/src/test/function_test/base_api_test/CMakeFiles
   5.6M ./build/latest/src/test/function_test/bulk_load_test/CMakeFiles
   3.5M ./build/latest/src/test/function_test/detect_hotspot_test/CMakeFiles
   6.0M ./build/latest/src/test/function_test/partition_split_test/CMakeFiles
   5.3M ./build/latest/src/test/function_test/recovery_test/CMakeFiles
   8.1M ./build/latest/src/test/function_test/restore_test/CMakeFiles
   6.4M ./build/latest/src/test/function_test/throttle_test/CMakeFiles
   24M  ./build/latest/src/test/kill_test/CMakeFiles
   4.7M ./build/latest/src/test/pressure_test/CMakeFiles
   6.3M ./build/latest/src/tools/CMakeFiles
   87M  ./build/latest/src/utils/CMakeFiles
   1.3M ./build/latest/src/utils/long_adder_bench/CMakeFiles
   94M  ./build/latest/src/utils/test/CMakeFiles
   5.4M ./build/latest/src/utils/test/nth_element_bench/CMakeFiles
   16M  ./build/latest/src/zookeeper/CMakeFiles
   7.9M ./build/latest/src/zookeeper/test/CMakeFiles
   3.4G total
   ```
   
   Therefore we could drop `CMakeFiles` directories to spare more disk space.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to