Method: Vips.cache_set_max_mem
- Defined in:
- lib/vips.rb
permalink .cache_set_max_mem(size) ⇒ Object
Set the maximum amount of memory that libvips should use for the operation cache. Set 0 to disable the operation cache. The default is 100mb.
735 736 737 738 |
# File 'lib/vips.rb', line 735 def self.cache_set_max_mem size vips_cache_set_max_mem size cache_max_mem end |