Postby devops01 » Fri Jul 18, 2014 4:20 pm
You can update your memory-size for a namespace dynamically with asinfo
command :
asinfo -v 'set-config:context=namespace;id=<YOUR_NAMESPACE_NAME>;memory-size=G
example:
$ asinfo -v ‘set-config:context=namespace;id=test;memory-size=1G’ requested value set-config:context=namespace;id=test;memory-size=1G value is ok
Other option is doing a restart of the service after having modified config file. $ sudo /etc/init.d/aerospike restart
In both cases you will need to edit aerospike.conf to make the change permanent.
more info can be found in our reference page: