From 1df832a060696c903b92195eda692b85d4faaded Mon Sep 17 00:00:00 2001 From: Krishna Pai Date: Mon, 18 Mar 2024 14:02:27 -0700 Subject: [PATCH] Reduce allocator capacity. --- .github/workflows/scheduled.yml | 6 +++--- velox/exec/tests/ExchangeFuzzer.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index d37489763853..c8ca7b85c896 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -413,10 +413,10 @@ jobs: - name: Checkout Repo uses: actions/checkout@v4 with: - ref: "${{ inputs.ref || 'main' }}" + ref: "${{ inputs.ref }}" - name: Install dependencies - run: sudo ./scripts/setup-ubuntu.sh + run: source ./scripts/setup-ubuntu.sh - name: Download exchange fuzzer uses: actions/download-artifact@v4 @@ -440,7 +440,7 @@ jobs: && echo -e "\n\Exchange fuzzer run finished successfully." - name: Archive Exchange production artifacts - if: always() + if: ${{ !cancelled() }} uses: actions/upload-artifact@v4 with: name: exchange-fuzzer-failure-artifacts diff --git a/velox/exec/tests/ExchangeFuzzer.cpp b/velox/exec/tests/ExchangeFuzzer.cpp index 98ba567cdb05..fc2b7e073662 100644 --- a/velox/exec/tests/ExchangeFuzzer.cpp +++ b/velox/exec/tests/ExchangeFuzzer.cpp @@ -408,7 +408,7 @@ int main(int argc, char** argv) { folly::Init init{&argc, &argv}; memory::MemoryManagerOptions options; options.useMmapAllocator = true; - options.allocatorCapacity = 20UL << 30; + options.allocatorCapacity = 8UL << 30; options.useMmapArena = true; options.mmapArenaCapacityRatio = 1; memory::MemoryManager::initialize(options);