title: Redis script for memory flush
body: <p>Is it possible to create a script for Redis that flush its memory when it is above a certain value?
  In my specific case, I want a flush when the memory is above 90%.
  What is the best way, via bash script or Lua script?</p>