mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 01:01:22 +00:00
Function to compute RSS memory usage in a fast way, suitable to be called inside keys eviction loops
This commit is contained in:
@ -397,6 +397,8 @@ struct redisServer {
|
||||
char *requirepass;
|
||||
int rdbcompression;
|
||||
int activerehashing;
|
||||
/* Memory related */
|
||||
float fragmentation;
|
||||
/* Replication related */
|
||||
int isslave;
|
||||
char *masterauth;
|
||||
@ -751,6 +753,7 @@ void usage();
|
||||
void updateDictResizePolicy(void);
|
||||
int htNeedsResize(dict *dict);
|
||||
void oom(const char *msg);
|
||||
size_t redisEstimateRSS(void);
|
||||
|
||||
/* Virtual Memory */
|
||||
void vmInit(void);
|
||||
|
Reference in New Issue
Block a user