Skip to content

Commit

Permalink
[libc][Obvious] Bump hermetic alloc space to 64KB.
Browse files Browse the repository at this point in the history
Few hermetic tests are failing as they are running out of memory.

Differential Revision: https://reviews.llvm.org/D150724
  • Loading branch information
Siva Chandra Reddy committed May 16, 2023
1 parent 71978fc commit a5d98be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/test/UnitTest/HermeticTestUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace {
// requires. Hence, as a work around for this problem, we use a simple allocator
// which just hands out continuous blocks from a statically allocated chunk of
// memory.
static constexpr uint64_t MEMORY_SIZE = 16384;
static constexpr uint64_t MEMORY_SIZE = 65336;
static uint8_t memory[MEMORY_SIZE];
static uint8_t *ptr = memory;

Expand Down

0 comments on commit a5d98be

Please sign in to comment.