if $config['cache-memory-use'] =~ /memfree_(\d+)/
cache_memfree_spin.value = $1.to_i
else
- cache_specify_spin.value = $config['cache-memory-use'].to_i
+ cache_specify_spin.value = $config['cache-memory-use'].to_i / 1024
end
table_y += 1
if cache_memfree_radio.active?
$config['cache-memory-use'] = "memfree_#{cache_memfree_spin.value}%"
else
- $config['cache-memory-use'] = cache_specify_spin.value
+ $config['cache-memory-use'] = cache_specify_spin.value.to_i * 1024
end
set_cache_memory_use_figure
end