Selur's Little Message Board
Limit Cache (MB) - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Limit Cache (MB) (/thread-4253.html)



Limit Cache (MB) - Dan64 - 02.11.2025

Hello Selur,

  In Hybrid under Filtering->Vapoursynth->Script, there is the option Limit Cache (MB).

  I'd like to understand how this option is used, because by enabling/disabling it, I don't see any change on the generated script or the vspipe command used for encoding.

Thanks,
Dan


RE: Limit Cache (MB) - Selur - 02.11.2025

the tool tip seems clear to me,...

If you enable it and:
a. enter a value, that value, i.e. 2048, that value gets set as max_cache_size
# Limit frame cache to 2048MB
core.max_cache_size = 2048
if a value of 0 is set and '8GB for > SD' is selected and your output is > 720x576
# Limit frame cache to 8192MB
core.max_cache_size = 8192
will be used,...
read also:
https://www.vapoursynth.com/doc/pythonreference.html#Core.max_cache_size
https://forum.doom9.org/showthread.php?t=185774

Cu Selur


RE: Limit Cache (MB) - Dan64 - 02.11.2025

I turned this option to 16GB, but I don't see in the generated code the lines

# Limit frame cache to  16384MB
core.max_cache_size =  16384

The cache settings is also depending from the clip input resolution ?

Dan


RE: Limit Cache (MB) - Selur - 02.11.2025

Yes, unless you enter 16384 as number, instead of 0, or use the 3/4 option, those limits only are activated on content that is greater than SD, HD or UHD.