Skip to content

Commit b99e6d2

Browse files
committed
Common: Reduce LazyMemoryRegion's Windows block size
8 MiB is excessively large for the new use cases, and probably a bit overkill for the old use cases too. Let's reduce it to 1 MiB.
1 parent a33d8fc commit b99e6d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Core/Common/MemArena.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class MemArena final
161161
class LazyMemoryRegion final
162162
{
163163
public:
164-
constexpr static size_t WINDOWS_BLOCK_SIZE = 8 * 1024 * 1024; // size of allocated memory blocks
164+
constexpr static size_t WINDOWS_BLOCK_SIZE = 1024 * 1024; // size of allocated memory blocks
165165

166166
LazyMemoryRegion();
167167
~LazyMemoryRegion();

0 commit comments

Comments
 (0)