diff --git a/profiler/src/profiler/TracyLlm.cpp b/profiler/src/profiler/TracyLlm.cpp index ccb73cdb..e17fd2f7 100644 --- a/profiler/src/profiler/TracyLlm.cpp +++ b/profiler/src/profiler/TracyLlm.cpp @@ -881,7 +881,7 @@ void TracyLlm::ManageContext( std::unique_lock& lock ) const auto ctxSize = models[m_modelIdx].contextSize; if( ctxSize <= 0 ) return; - const auto quota = int( ctxSize * 0.7f ); + const auto quota = std::max( 4096, int( ctxSize * 0.8f ) ); if( m_usedCtx < quota ) return; size_t idx = 0;