summaryrefslogtreecommitdiffstats
path: root/src/commands/memory-purge.json
blob: 77ed61dc5b49a820488f7218277b1d39dbf583ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "PURGE": {
        "summary": "Asks the allocator to release memory.",
        "complexity": "Depends on how much memory is allocated, could be slow",
        "group": "server",
        "since": "4.0.0",
        "arity": 2,
        "container": "MEMORY",
        "function": "memoryCommand",
        "command_tips": [
            "REQUEST_POLICY:ALL_SHARDS",
            "RESPONSE_POLICY:ALL_SUCCEEDED"
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}