Skip to content

Commit bfb1e99

Browse files
authored
Reducing VMA large pool allocation to 4 MB from 32 MB to reduce memory wastage.
Differential Revision: D65864032 Pull Request resolved: #6816
1 parent d0e0466 commit bfb1e99

File tree

1 file changed

+1
-1
lines changed
  • backends/vulkan/runtime/vk_api/memory

1 file changed

+1
-1
lines changed

backends/vulkan/runtime/vk_api/memory/vma_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
2222
#endif /* USE_VULKAN_WRAPPER */
2323

24-
#define VMA_DEFAULT_LARGE_HEAP_BLOCK_SIZE (32ull * 1024 * 1024)
24+
#define VMA_DEFAULT_LARGE_HEAP_BLOCK_SIZE (4ull * 1024 * 1024)
2525
#define VMA_SMALL_HEAP_MAX_SIZE (256ull * 1024 * 1024)
2626

2727
#define VMA_STATS_STRING_ENABLED 0

0 commit comments

Comments
 (0)