saz/puppet-memcached — Issue #4: max_memory calculated value
Author: nanliu
Created: 2012-01-26 16:39:49+00:00
State: open

Does the calculation actually work?

((memorysize.to_f*1024)*0.95).floor

Memory size returns anything from 8 GB, 900 MB, and anything in between. Don't we need something like memory in bytes to reliably calculate this value?

https://blog.kumina.nl/2011/03/facter-facts-for-memory-in-bytes/