NodeJS UDF execute memory leak

I’m executing a UDF a few thousand times per second. This causes NodeJS’s RSS memory usage to slowly climb, seemingly without limit, a few kb per execute. The problem persists even if I periodically close the connection and open a new client.

Reproduction is very easy: Just execute a UDF (that returns a few values) on random keys a thousand times a second over the same connection. Cluster configuration doesn’t effect it.

Thanks for any insights- Daniel.

Hi,

Could you please confirm your Aerospike version and the NodeJS client version?

Aerospike Community Edition build 3.3.21

NodeJS v0.10.25

Thanks

We took a deeper look and found a leak in the UDF execution codepath. Its fixed now and latest change is pushed into npm repo. please get the latest version (1.0.25).