AerospikeException: Error Code 8: Server memory error while putting object through java sync client


#1

Hi All,

I am getting below Exception while my java client is trying to put object in aerospike.

[2015-05-11 05:39:37.924][http-bio-8080-exec-8][ERROR][PuidAao:73] Exception :com.aerospike.client.AerospikeException: Error Code 8: Server memory error at com.aerospike.client.command.WriteCommand.parseResult(WriteCommand.java:59) at com.aerospike.client.command.SyncCommand.execute(SyncCommand.java:56) at com.aerospike.client.AerospikeClient.put(AerospikeClient.java:299) at com.snapdeal.rpe.puidstore.web.aerospike.PUIDAerospikeClient.addRecord(PUIDAerospikeClient.java:63)

I have plenty of free memory on my aerospike server though

May 11 2015 05:39:20 GMT: INFO (drv_ssd): (drv_ssd.c::2398) device /dev/xvdf: used 5376871168, contig-free 97271M (778168 wblocks), swb-free 0, n-w 0, w-q 0 w-tot 0 (0.0/s), defrag-q 0 defrag-tot 0 (0.0/s) May 11 2015 05:39:20 GMT: INFO (drv_ssd): (drv_ssd.c::2398) device /dev/xvdh: used 0, contig-free 102366M (818935 wblocks), swb-free 1, n-w 0, w-q 0 w-tot 33105 (0.0/s), defrag-q 0 defrag-tot 32337 (0.0/s) May 11 2015 05:39:26 GMT: INFO (info): (thr_info.c::4565) system memory: free 13328172kb ( 86 percent free )

what could be the root cause behind this error??


#2

How much RAM have you allocated to this namespace? Check for memory-size in your /etc/aerospike/aerospike.conf.

If there is still an issue could you provide the output of:

asadm -e "info"