Garbage Collection: enable as default, eliminate option.
This commit is contained in:
parent
d540d284b5
commit
ba82bb359b
9 changed files with 2 additions and 26 deletions
|
@ -486,7 +486,7 @@ void BufferCache<P>::TickFrame() {
|
|||
const bool skip_preferred = hits * 256 < shots * 251;
|
||||
uniform_buffer_skip_cache_size = skip_preferred ? DEFAULT_SKIP_CACHE_SIZE : 0;
|
||||
|
||||
if (Settings::values.use_caches_gc.GetValue() && total_used_memory >= EXPECTED_MEMORY) {
|
||||
if (total_used_memory >= EXPECTED_MEMORY) {
|
||||
RunGarbageCollector();
|
||||
}
|
||||
++frame_tick;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue