• guybe7's avatar
    Add RM_MallocSizeString, RM_MallocSizeDict (#10542) · fe1c096b
    guybe7 authored
    Add APIs to allow modules to compute the memory consumption of opaque objects owned by redis.
    Without these, the mem_usage callbacks of module data types are useless in many cases.
    
    Other changes:
    Fix streamRadixTreeMemoryUsage to include the size of the rax structure itself
    fe1c096b
redismodule.h 88.4 KB