Increasing allocated memory to a live machine?


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


$ 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:


Postby devops01 » Thu Jul 24, 2014 11:39 am

Please ensure that migrations are done before getting accurate objects count.

You can check for migration progress with : CODE: SELECT ALL

asmonitor -e “stat -v migrate_progress*”

Example output:

1 hosts in cluster: ==== migrate_progress_recv 0 migrate_progress_send 0