From 3eda342b87e06d79884ef12a31032e4ae1a1dde9 Mon Sep 17 00:00:00 2001 From: Kelsi Date: Thu, 12 Feb 2026 16:13:32 -0800 Subject: [PATCH] Raise default AssetManager file cache cap to 32GB --- src/pipeline/asset_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline/asset_manager.cpp b/src/pipeline/asset_manager.cpp index b1e48e09..08034e1c 100644 --- a/src/pipeline/asset_manager.cpp +++ b/src/pipeline/asset_manager.cpp @@ -59,7 +59,7 @@ bool AssetManager::initialize(const std::string& dataPath_) { const size_t envMaxMB = parseEnvSizeMB("WOWEE_FILE_CACHE_MAX_MB"); const size_t minBudgetBytes = 256ull * 1024ull * 1024ull; // 256 MB - const size_t defaultMaxBudgetBytes = 2048ull * 1024ull * 1024ull; // 2 GB + const size_t defaultMaxBudgetBytes = 32768ull * 1024ull * 1024ull; // 32 GB const size_t maxBudgetBytes = (envMaxMB > 0) ? (envMaxMB * 1024ull * 1024ull) : defaultMaxBudgetBytes;