I am facing memory leaks writing/updating using UDF, where as async write/update without UDF works fine.
Details are as follows, please revert if you need more information
Write/Update TPS : 100K TPS
Java Client version : 4.1.7
Aerospike version : 4.0.0.5 and 4.2.0.4
function insert_data(rec, BIN_NAME)
if aerospike:exists(rec) then
else
rec[BIN_NAME] = 1
aerospike:create(rec)
end
rec = nil
BIN_NAME = nil
end
I am also experience same issue, in my aerospike cluster the memory keeps on increasing slowly and is killed by OOM. This is only happening when i use UDF, i can help with how to reproduce this issue
@meher can you please look
Thanks for reply. Once we reached aerospike’s allocated memory limit and continued writing further, we could see on aerospike dashboard memory was stable, however machine’s memory was contiguously increasing. After that we stopped our application hitting aerospike and waited to check if memory coming back to expected usage, but it wasn’t.