Aerospike in-memory DB uses much memory than expected

Have you read Capacity Planning Guide | Aerospike Documentation?

Also a user, @GeertJohan, has contributed a tool for capacity planning discussed here: