ExpMemorySize Method
Create expression that returns record size in memory. If server storage-engine is
not memory nor data-in-memory, then zero is returned. This expression usually evaluates
quickly because record meta data is cached in memory.
Requires server version between 5.3 inclusive and 7.0 exclusive.
Use RecordSize for server version 7.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp MemorySize()
Return Value
Exp // Record memory size >= 100 KB
Exp.GE(Exp.MemorySize(), Exp.Val(100 * 1024))