I tried to run two Aerospike instances on one machine, just for development purposes. I have configured different port numbers, ssd devices, pid files, log files for the two instances.
When I used only one instance it worked fine. When I started the second one, sometimes I saw duplicated records during query (from aql command line) and I also got memory error messages when I used the Java client.
Please let me know if there is something else to configure two instances on one machine other than what I wrote.