Skip to content

Instantly share code, notes, and snippets.

@akinsgre
Created November 8, 2012 14:30
Show Gist options
  • Select an option

  • Save akinsgre/4039114 to your computer and use it in GitHub Desktop.

Select an option

Save akinsgre/4039114 to your computer and use it in GitHub Desktop.
Example of setting maxmemory.. confusing for me.
$ ./redis-cli
redis> set x 10
OK
redis> config set maxmemory 200
OK
redis> set y 20
(error) ERR command not allowed when used memory > 'maxmemory'
redis> config set maxmemory 0
OK
redis> set y 20
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment