Skip to content

Commit b959127

Browse files
committed
Optimize memory usage in recursive verification tests workflow
- Added environment variables to limit concurrency and increase memory allocation during proof data generation. - Included a timeout for the proof data generation step to ensure timely execution.
1 parent c4afbc3 commit b959127

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/recursive-verification-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ jobs:
8282

8383
- name: Generate proof data
8484
working-directory: recursive_verification
85-
run: bun data
85+
env:
86+
BB_SINGLE_THREADED: "1"
87+
HARDWARE_CONCURRENCY: "1"
88+
NODE_OPTIONS: "--max-old-space-size=6144"
89+
run: |
90+
echo "Generating proof data with memory optimizations..."
91+
bun data
92+
timeout-minutes: 30
8693

8794
- name: Run tests
8895
working-directory: recursive_verification

0 commit comments

Comments
 (0)